@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFlowLogsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeFlowLogsRequest>
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 items to return for this request.
|
String |
getNextToken()
The token to request the next page of items.
|
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 items to return for this request.
|
void |
setNextToken(String nextToken)
The token to request the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
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 items to return for this request.
|
DescribeFlowLogsRequest |
withNextToken(String nextToken)
The token to request the next page of items.
|
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
).
log-destination-type
- The type of destination for the flow log data (cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
deliver-log-status
- The status of the logs delivery (SUCCESS
|
FAILED
).
log-destination-type
- The type of destination for the flow log data (
cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that
have a tag with the key Owner
and the value TeamA
, specify
tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public void setFilter(Collection<Filter> filter)
One or more filters.
deliver-log-status
- The status of the logs delivery (SUCCESS
| FAILED
).
log-destination-type
- The type of destination for the flow log data (cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
filter
- One or more filters.
deliver-log-status
- The status of the logs delivery (SUCCESS
|
FAILED
).
log-destination-type
- The type of destination for the flow log data (
cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public DescribeFlowLogsRequest withFilter(Filter... filter)
One or more filters.
deliver-log-status
- The status of the logs delivery (SUCCESS
| FAILED
).
log-destination-type
- The type of destination for the flow log data (cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
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
).
log-destination-type
- The type of destination for the flow log data (
cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public DescribeFlowLogsRequest withFilter(Collection<Filter> filter)
One or more filters.
deliver-log-status
- The status of the logs delivery (SUCCESS
| FAILED
).
log-destination-type
- The type of destination for the flow log data (cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
filter
- One or more filters.
deliver-log-status
- The status of the logs delivery (SUCCESS
|
FAILED
).
log-destination-type
- The type of destination for the flow log data (
cloud-watch-logs
| s3
| kinesis-data-firehose
).
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
).
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public List<String> getFlowLogIds()
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
public void setFlowLogIds(Collection<String> flowLogIds)
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
flowLogIds
- One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
public DescribeFlowLogsRequest withFlowLogIds(String... flowLogIds)
One or more flow log IDs.
Constraint: Maximum of 1000 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.
Constraint: Maximum of 1000 flow log IDs.
public DescribeFlowLogsRequest withFlowLogIds(Collection<String> flowLogIds)
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
flowLogIds
- One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
public DescribeFlowLogsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public void setNextToken(String nextToken)
The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token to request the next page of items. Pagination continues from the end of the items returned by
the previous request.public String getNextToken()
The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
public DescribeFlowLogsRequest withNextToken(String nextToken)
The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token to request the next page of items. Pagination continues from the end of the items returned by
the previous request.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()