@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFlowLogsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeFlowLogsRequest>
Contains the parameters for DescribeFlowLogs.
NOOP
Constructor and Description |
---|
DescribeFlowLogsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFlowLogsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeFlowLogsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Filter> getFilter()
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
)
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)
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
)
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)
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
)
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.
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)
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
)
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 List<String> getFlowLogIds()
One or more flow log IDs.
public void setFlowLogIds(Collection<String> flowLogIds)
One or more flow log IDs.
flowLogIds
- One or more flow log IDs.public DescribeFlowLogsRequest withFlowLogIds(String... flowLogIds)
One or more flow log IDs.
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.
flowLogIds
- One or more flow log IDs.public DescribeFlowLogsRequest withFlowLogIds(Collection<String> flowLogIds)
One or more flow log IDs.
flowLogIds
- One or more flow log IDs.public void setMaxResults(Integer 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.
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 Integer getMaxResults()
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.
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)
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.
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 void setNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public String getNextToken()
The token to retrieve the next page of results.
public DescribeFlowLogsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public Request<DescribeFlowLogsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeFlowLogsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeFlowLogsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.