Class DescribeFlowLogsRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeFlowLogsRequest>
,Serializable
,Cloneable
Contains the parameters for DescribeFlowLogs.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
This method is intended for internal use only.One or more filters.One or more flow log IDs.The maximum number of results to return for the request in a single page.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.toString()
Returns a string representation of this object; useful for testing and debugging.withFilter
(Filter... filter) One or more filters.withFilter
(Collection<Filter> filter) One or more filters.withFlowLogIds
(String... flowLogIds) One or more flow log IDs.withFlowLogIds
(Collection<String> flowLogIds) One or more flow log IDs.withMaxResults
(Integer maxResults) The maximum number of results to return for the request in a single page.withNextToken
(String nextToken) The token to retrieve the next page of results.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DescribeFlowLogsRequest
public DescribeFlowLogsRequest()
-
-
Method Details
-
getFlowLogIds
One or more flow log IDs.
- Returns:
- One or more flow log IDs.
-
setFlowLogIds
One or more flow log IDs.
- Parameters:
flowLogIds
- One or more flow log IDs.
-
withFlowLogIds
One or more flow log IDs.
NOTE: This method appends the values to the existing list (if any). Use
setFlowLogIds(java.util.Collection)
orwithFlowLogIds(java.util.Collection)
if you want to override the existing values.- Parameters:
flowLogIds
- One or more flow log IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFlowLogIds
One or more flow log IDs.
- Parameters:
flowLogIds
- One or more flow log IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
)
- Returns:
- 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
)
-
-
-
setFilter
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
)
- Parameters:
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
)
-
-
-
withFilter
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)
orwithFilter(java.util.Collection)
if you want to override the existing values.- Parameters:
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
)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilter
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
)
- Parameters:
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
)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setNextToken
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.
-
getNextToken
The token to retrieve the next page of results.
- Returns:
- The token to retrieve the next page of results.
-
withNextToken
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
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; ifMaxResults
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.- Parameters:
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 returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
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.
-
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; ifMaxResults
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:
- 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; ifMaxResults
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.
-
withMaxResults
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; ifMaxResults
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.- Parameters:
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 returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
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:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeFlowLogsRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-