public class DescribeFlowLogsRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeFlowLogs operation
.
Describes one or more flow logs. To view the information in your flow logs (the log streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs API.
Constructor and Description |
---|
DescribeFlowLogsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilter()
One or more filters.
|
java.util.List<java.lang.String> |
getFlowLogIds()
One or more flow log IDs.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return for the request in a single
page.
|
java.lang.String |
getNextToken()
The token to retrieve the next page of results.
|
int |
hashCode() |
void |
setFilter(java.util.Collection<Filter> filter)
One or more filters.
|
void |
setFlowLogIds(java.util.Collection<java.lang.String> flowLogIds)
One or more flow log IDs.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
void |
setNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeFlowLogsRequest |
withFilter(java.util.Collection<Filter> filter)
One or more filters.
|
DescribeFlowLogsRequest |
withFilter(Filter... filter)
One or more filters.
|
DescribeFlowLogsRequest |
withFlowLogIds(java.util.Collection<java.lang.String> flowLogIds)
One or more flow log IDs.
|
DescribeFlowLogsRequest |
withFlowLogIds(java.lang.String... flowLogIds)
One or more flow log IDs.
|
DescribeFlowLogsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
DescribeFlowLogsRequest |
withNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getFlowLogIds()
public void setFlowLogIds(java.util.Collection<java.lang.String> flowLogIds)
flowLogIds
- One or more flow log IDs.public DescribeFlowLogsRequest withFlowLogIds(java.lang.String... flowLogIds)
Returns a reference to this object so that method calls can be chained together.
flowLogIds
- One or more flow log IDs.public DescribeFlowLogsRequest withFlowLogIds(java.util.Collection<java.lang.String> flowLogIds)
Returns a reference to this object so that method calls can be chained together.
flowLogIds
- One or more flow log IDs.public java.util.List<Filter> getFilter()
deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
public void setFilter(java.util.Collection<Filter> filter)
deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
filter
- One or more filters. deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
public DescribeFlowLogsRequest withFilter(Filter... filter)
deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
Returns a reference to this object so that method calls can be chained together.
filter
- One or more filters. deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
public DescribeFlowLogsRequest withFilter(java.util.Collection<Filter> filter)
deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
Returns a reference to this object so that method calls can be chained together.
filter
- One or more filters. deliver-log-status
- The
status of the logs delivery (SUCCESS
|
FAILED
).
flow-log-id
- The ID of
the flow log.
log-group-name
- The name of
the log group.
resource-id
- The ID of the
VPC, subnet, or network interface.
traffic-type
- The type of traffic
(ACCEPT
| REJECT
| ALL
)
public java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- The token to retrieve the next page of results.public DescribeFlowLogsRequest withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to retrieve the next page of results.public java.lang.Integer getMaxResults()
NextToken
value. This value can be
between 5 and 1000; if MaxResults
is given a value larger
than 1000, only 1000 results are returned. You cannot specify this
parameter and the flow log IDs parameter in the same request.NextToken
value. This value can be
between 5 and 1000; if MaxResults
is given a value larger
than 1000, only 1000 results are returned. You cannot specify this
parameter and the flow log IDs parameter in the same request.public void setMaxResults(java.lang.Integer maxResults)
NextToken
value. This value can be
between 5 and 1000; if MaxResults
is given a value larger
than 1000, only 1000 results are returned. You cannot specify this
parameter and the flow log IDs parameter in the same request.maxResults
- The maximum number of results to return for the request in a single
page. The remaining results can be seen by sending another request
with the returned NextToken
value. This value can be
between 5 and 1000; if MaxResults
is given a value larger
than 1000, only 1000 results are returned. You cannot specify this
parameter and the flow log IDs parameter in the same request.public DescribeFlowLogsRequest withMaxResults(java.lang.Integer maxResults)
NextToken
value. This value can be
between 5 and 1000; if MaxResults
is given a value larger
than 1000, only 1000 results are returned. You cannot specify this
parameter and the flow log IDs parameter in the same request.
Returns a reference to this object so that method calls can be chained together.
maxResults
- The maximum number of results to return for the request in a single
page. The remaining results can be seen by sending another request
with the returned NextToken
value. This value can be
between 5 and 1000; if MaxResults
is given a value larger
than 1000, only 1000 results are returned. You cannot specify this
parameter and the flow log IDs parameter in the same request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.