public class DescribeFlowLogsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP| Constructor and Description | 
|---|
| DescribeFlowLogsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeFlowLogsRequest | clone()Creates a shallow clone of this request. | 
| boolean | equals(Object obj) | 
| List<Filter> | getFilter()One or more filters. | 
| List<String> | getFlowLogIds()One or more flow log IDs. | 
| Integer | getMaxResults()The maximum number of results to return for the request in a single
 page. | 
| String | getNextToken()The token to retrieve the next page of results. | 
| int | hashCode() | 
| void | setFilter(Collection<Filter> filter)One or more filters. | 
| void | setFlowLogIds(Collection<String> flowLogIds)One or more flow log IDs. | 
| void | setMaxResults(Integer maxResults)The maximum number of results to return for the request in a single
 page. | 
| void | setNextToken(String nextToken)The token to retrieve the next page of results. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| DescribeFlowLogsRequest | withFilter(Collection<Filter> filter)One or more filters. | 
| DescribeFlowLogsRequest | withFilter(Filter... filter)One or more filters. | 
| DescribeFlowLogsRequest | withFlowLogIds(Collection<String> flowLogIds)One or more flow log IDs. | 
| DescribeFlowLogsRequest | withFlowLogIds(String... flowLogIds)One or more flow log IDs. | 
| DescribeFlowLogsRequest | withMaxResults(Integer maxResults)The maximum number of results to return for the request in a single
 page. | 
| DescribeFlowLogsRequest | withNextToken(String nextToken)The token to retrieve the next page of results. | 
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getFlowLogIds()
public void setFlowLogIds(Collection<String> flowLogIds)
flowLogIds - One or more flow log IDs.public DescribeFlowLogsRequest withFlowLogIds(String... flowLogIds)
 NOTE: This method appends the values to the existing list (if
 any). Use setFlowLogIds(java.util.Collection) or withFlowLogIds(java.util.Collection) if you want to override the
 existing values.
 
Returns a reference to this object so that method calls can be chained together.
flowLogIds - One or more flow log IDs.public DescribeFlowLogsRequest withFlowLogIds(Collection<String> flowLogIds)
Returns a reference to this object so that method calls can be chained together.
flowLogIds - One or more flow log IDs.public 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(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)
 NOTE: This method appends the values to the existing list (if
 any). Use setFilter(java.util.Collection) or withFilter(java.util.Collection) if you want to override the
 existing values.
 
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(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 String getNextToken()
public void setNextToken(String nextToken)
nextToken - The token to retrieve the next page of results.public DescribeFlowLogsRequest withNextToken(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 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(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(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 String toString()
toString in class ObjectObject.toString()public DescribeFlowLogsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.