public class DescribeFlowLogsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeFlowLogsRequest>
Contains the parameters for DescribeFlowLogs.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Filter> |
filter
One or more filters.
|
private SdkInternalList<java.lang.String> |
flowLogIds
One or more flow log IDs.
|
private java.lang.Integer |
maxResults
The maximum number of results to return for the request in a single page.
|
private java.lang.String |
nextToken
The token to retrieve the next page of results.
|
NOOP
Constructor and Description |
---|
DescribeFlowLogsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFlowLogsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribeFlowLogsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
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
private SdkInternalList<java.lang.String> flowLogIds
One or more flow log IDs.
private SdkInternalList<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
)
private java.lang.String nextToken
The token to retrieve the next page of results.
private java.lang.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.
public java.util.List<java.lang.String> getFlowLogIds()
One or more flow log IDs.
public void setFlowLogIds(java.util.Collection<java.lang.String> flowLogIds)
One or more flow log IDs.
flowLogIds
- One or more flow log IDs.public DescribeFlowLogsRequest withFlowLogIds(java.lang.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(java.util.Collection<java.lang.String> flowLogIds)
One or more flow log IDs.
flowLogIds
- One or more flow log IDs.public java.util.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(java.util.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(java.util.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 void setNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public java.lang.String getNextToken()
The token to retrieve the next page of results.
public DescribeFlowLogsRequest withNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public void setMaxResults(java.lang.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 java.lang.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(java.lang.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 Request<DescribeFlowLogsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeFlowLogsRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeFlowLogsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()