@Generated(value="software.amazon.awssdk:codegen") public final class DescribeFlowLogsRequest extends Ec2Request implements ToCopyableBuilder<DescribeFlowLogsRequest.Builder,DescribeFlowLogsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeFlowLogsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeFlowLogsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<Filter> |
filter()
One or more filters.
|
List<String> |
flowLogIds()
One or more flow log IDs.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return for the request in a single page.
|
String |
nextToken()
The token to retrieve the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeFlowLogsRequest.Builder> |
serializableBuilderClass() |
DescribeFlowLogsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<Filter> filter()
One or more filters.
deliver-log-status
- The status of the logs delivery (SUCCESS
| FAILED
).
log-destination-type
- The type of destination to which the flow log publishes data. Possible
destination types include cloud-watch-logs
and S3
.
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
).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
deliver-log-status
- The status of the logs delivery (SUCCESS
|
FAILED
).
log-destination-type
- The type of destination to which the flow log publishes data.
Possible destination types include cloud-watch-logs
and S3
.
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> flowLogIds()
One or more flow log IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
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 String nextToken()
The token to retrieve the next page of results.
public DescribeFlowLogsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeFlowLogsRequest.Builder,DescribeFlowLogsRequest>
toBuilder
in class Ec2Request
public static DescribeFlowLogsRequest.Builder builder()
public static Class<? extends DescribeFlowLogsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.