Class DescribeFlowLogsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeFlowLogsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeFlowLogsRequest>
,Serializable
,Cloneable
public class DescribeFlowLogsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeFlowLogsRequest>
Contains the parameters for DescribeFlowLogs.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeFlowLogsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeFlowLogsRequest
clone()
Creates a shallow clone of this request.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(Filter... filter)
One or more filters.DescribeFlowLogsRequest
withFilter(Collection<Filter> filter)
One or more filters.DescribeFlowLogsRequest
withFlowLogIds(String... flowLogIds)
One or more flow log IDs.DescribeFlowLogsRequest
withFlowLogIds(Collection<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.-
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
-
-
-
-
Method Detail
-
getFlowLogIds
public List<String> getFlowLogIds()
One or more flow log IDs.
- Returns:
- One or more flow log IDs.
-
setFlowLogIds
public void setFlowLogIds(Collection<String> flowLogIds)
One or more flow log IDs.
- Parameters:
flowLogIds
- One or more flow log IDs.
-
withFlowLogIds
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)
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
public DescribeFlowLogsRequest withFlowLogIds(Collection<String> flowLogIds)
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
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
)
- 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
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
)
- 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
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)
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
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
)
- 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
public void setNextToken(String nextToken)
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.
-
getNextToken
public String getNextToken()
The token to retrieve the next page of results.
- Returns:
- The token to retrieve the next page of results.
-
withNextToken
public DescribeFlowLogsRequest withNextToken(String nextToken)
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
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; 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
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; 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
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; 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
public Request<DescribeFlowLogsRequest> 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeFlowLogsRequest 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:
Object.clone()
-
-