@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFlowLogsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateFlowLogsRequest>
NOOP
Constructor and Description |
---|
CreateFlowLogsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFlowLogsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDeliverCrossAccountRole()
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
|
String |
getDeliverLogsPermissionArn()
The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
|
DestinationOptionsRequest |
getDestinationOptions()
The destination options.
|
Request<CreateFlowLogsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getLogDestination()
The destination for the flow log data.
|
String |
getLogDestinationType()
The type of destination for the flow log data.
|
String |
getLogFormat()
The fields to include in the flow log record.
|
String |
getLogGroupName()
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
|
Integer |
getMaxAggregationInterval()
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
|
List<String> |
getResourceIds()
The IDs of the resources to monitor.
|
String |
getResourceType()
The type of resource to monitor.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the flow logs.
|
String |
getTrafficType()
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDeliverCrossAccountRole(String deliverCrossAccountRole)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
|
void |
setDeliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
|
void |
setDestinationOptions(DestinationOptionsRequest destinationOptions)
The destination options.
|
void |
setLogDestination(String logDestination)
The destination for the flow log data.
|
void |
setLogDestinationType(LogDestinationType logDestinationType)
The type of destination for the flow log data.
|
void |
setLogDestinationType(String logDestinationType)
The type of destination for the flow log data.
|
void |
setLogFormat(String logFormat)
The fields to include in the flow log record.
|
void |
setLogGroupName(String logGroupName)
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
|
void |
setMaxAggregationInterval(Integer maxAggregationInterval)
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
|
void |
setResourceIds(Collection<String> resourceIds)
The IDs of the resources to monitor.
|
void |
setResourceType(FlowLogsResourceType resourceType)
The type of resource to monitor.
|
void |
setResourceType(String resourceType)
The type of resource to monitor.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the flow logs.
|
void |
setTrafficType(String trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
void |
setTrafficType(TrafficType trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
String |
toString()
Returns a string representation of this object.
|
CreateFlowLogsRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateFlowLogsRequest |
withDeliverCrossAccountRole(String deliverCrossAccountRole)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
|
CreateFlowLogsRequest |
withDeliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
|
CreateFlowLogsRequest |
withDestinationOptions(DestinationOptionsRequest destinationOptions)
The destination options.
|
CreateFlowLogsRequest |
withLogDestination(String logDestination)
The destination for the flow log data.
|
CreateFlowLogsRequest |
withLogDestinationType(LogDestinationType logDestinationType)
The type of destination for the flow log data.
|
CreateFlowLogsRequest |
withLogDestinationType(String logDestinationType)
The type of destination for the flow log data.
|
CreateFlowLogsRequest |
withLogFormat(String logFormat)
The fields to include in the flow log record.
|
CreateFlowLogsRequest |
withLogGroupName(String logGroupName)
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
|
CreateFlowLogsRequest |
withMaxAggregationInterval(Integer maxAggregationInterval)
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
|
CreateFlowLogsRequest |
withResourceIds(Collection<String> resourceIds)
The IDs of the resources to monitor.
|
CreateFlowLogsRequest |
withResourceIds(String... resourceIds)
The IDs of the resources to monitor.
|
CreateFlowLogsRequest |
withResourceType(FlowLogsResourceType resourceType)
The type of resource to monitor.
|
CreateFlowLogsRequest |
withResourceType(String resourceType)
The type of resource to monitor.
|
CreateFlowLogsRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the flow logs.
|
CreateFlowLogsRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the flow logs.
|
CreateFlowLogsRequest |
withTrafficType(String trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
CreateFlowLogsRequest |
withTrafficType(TrafficType trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
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 void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
ensure idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
public CreateFlowLogsRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
ensure idempotency.public void setDeliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
This parameter is required if the destination type is cloud-watch-logs
, or if the destination type
is kinesis-data-firehose
and the delivery stream and the resources to monitor are in different
accounts.
deliverLogsPermissionArn
- The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
This parameter is required if the destination type is cloud-watch-logs
, or if the destination
type is kinesis-data-firehose
and the delivery stream and the resources to monitor are in
different accounts.
public String getDeliverLogsPermissionArn()
The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
This parameter is required if the destination type is cloud-watch-logs
, or if the destination type
is kinesis-data-firehose
and the delivery stream and the resources to monitor are in different
accounts.
This parameter is required if the destination type is cloud-watch-logs
, or if the
destination type is kinesis-data-firehose
and the delivery stream and the resources to
monitor are in different accounts.
public CreateFlowLogsRequest withDeliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
This parameter is required if the destination type is cloud-watch-logs
, or if the destination type
is kinesis-data-firehose
and the delivery stream and the resources to monitor are in different
accounts.
deliverLogsPermissionArn
- The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
This parameter is required if the destination type is cloud-watch-logs
, or if the destination
type is kinesis-data-firehose
and the delivery stream and the resources to monitor are in
different accounts.
public void setDeliverCrossAccountRole(String deliverCrossAccountRole)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverCrossAccountRole
- The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.public String getDeliverCrossAccountRole()
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
public CreateFlowLogsRequest withDeliverCrossAccountRole(String deliverCrossAccountRole)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverCrossAccountRole
- The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.public void setLogGroupName(String logGroupName)
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
This parameter is valid only if the destination type is cloud-watch-logs
.
logGroupName
- The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
This parameter is valid only if the destination type is cloud-watch-logs
.
public String getLogGroupName()
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
This parameter is valid only if the destination type is cloud-watch-logs
.
This parameter is valid only if the destination type is cloud-watch-logs
.
public CreateFlowLogsRequest withLogGroupName(String logGroupName)
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
This parameter is valid only if the destination type is cloud-watch-logs
.
logGroupName
- The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
This parameter is valid only if the destination type is cloud-watch-logs
.
public List<String> getResourceIds()
The IDs of the resources to monitor. For example, if the resource type is VPC
, specify the IDs of
the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
VPC
, specify the
IDs of the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
public void setResourceIds(Collection<String> resourceIds)
The IDs of the resources to monitor. For example, if the resource type is VPC
, specify the IDs of
the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
resourceIds
- The IDs of the resources to monitor. For example, if the resource type is VPC
, specify the
IDs of the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
public CreateFlowLogsRequest withResourceIds(String... resourceIds)
The IDs of the resources to monitor. For example, if the resource type is VPC
, specify the IDs of
the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)
or withResourceIds(java.util.Collection)
if you want to
override the existing values.
resourceIds
- The IDs of the resources to monitor. For example, if the resource type is VPC
, specify the
IDs of the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
public CreateFlowLogsRequest withResourceIds(Collection<String> resourceIds)
The IDs of the resources to monitor. For example, if the resource type is VPC
, specify the IDs of
the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
resourceIds
- The IDs of the resources to monitor. For example, if the resource type is VPC
, specify the
IDs of the VPCs.
Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
public void setResourceType(String resourceType)
The type of resource to monitor.
resourceType
- The type of resource to monitor.FlowLogsResourceType
public String getResourceType()
The type of resource to monitor.
FlowLogsResourceType
public CreateFlowLogsRequest withResourceType(String resourceType)
The type of resource to monitor.
resourceType
- The type of resource to monitor.FlowLogsResourceType
public void setResourceType(FlowLogsResourceType resourceType)
The type of resource to monitor.
resourceType
- The type of resource to monitor.FlowLogsResourceType
public CreateFlowLogsRequest withResourceType(FlowLogsResourceType resourceType)
The type of resource to monitor.
resourceType
- The type of resource to monitor.FlowLogsResourceType
public void setTrafficType(String trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not supported for transit gateway resource types. It is required for the other resource types.
trafficType
- The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not
supported for transit gateway resource types. It is required for the other resource types.TrafficType
public String getTrafficType()
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not supported for transit gateway resource types. It is required for the other resource types.
TrafficType
public CreateFlowLogsRequest withTrafficType(String trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not supported for transit gateway resource types. It is required for the other resource types.
trafficType
- The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not
supported for transit gateway resource types. It is required for the other resource types.TrafficType
public void setTrafficType(TrafficType trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not supported for transit gateway resource types. It is required for the other resource types.
trafficType
- The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not
supported for transit gateway resource types. It is required for the other resource types.TrafficType
public CreateFlowLogsRequest withTrafficType(TrafficType trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not supported for transit gateway resource types. It is required for the other resource types.
trafficType
- The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not
supported for transit gateway resource types. It is required for the other resource types.TrafficType
public void setLogDestinationType(String logDestinationType)
The type of destination for the flow log data.
Default: cloud-watch-logs
logDestinationType
- The type of destination for the flow log data.
Default: cloud-watch-logs
LogDestinationType
public String getLogDestinationType()
The type of destination for the flow log data.
Default: cloud-watch-logs
Default: cloud-watch-logs
LogDestinationType
public CreateFlowLogsRequest withLogDestinationType(String logDestinationType)
The type of destination for the flow log data.
Default: cloud-watch-logs
logDestinationType
- The type of destination for the flow log data.
Default: cloud-watch-logs
LogDestinationType
public void setLogDestinationType(LogDestinationType logDestinationType)
The type of destination for the flow log data.
Default: cloud-watch-logs
logDestinationType
- The type of destination for the flow log data.
Default: cloud-watch-logs
LogDestinationType
public CreateFlowLogsRequest withLogDestinationType(LogDestinationType logDestinationType)
The type of destination for the flow log data.
Default: cloud-watch-logs
logDestinationType
- The type of destination for the flow log data.
Default: cloud-watch-logs
LogDestinationType
public void setLogDestination(String logDestination)
The destination for the flow log data. The meaning of this parameter depends on the destination type.
If the destination type is cloud-watch-logs
, specify the ARN of a CloudWatch Logs log group. For
example:
arn:aws:logs:region:account_id:log-group:my_group
Alternatively, use the LogGroupName
parameter.
If the destination type is s3
, specify the ARN of an S3 bucket. For example:
arn:aws:s3:::my_bucket/my_subfolder/
The subfolder is optional. Note that you can't use AWSLogs
as a subfolder name.
If the destination type is kinesis-data-firehose
, specify the ARN of a Kinesis Data Firehose
delivery stream. For example:
arn:aws:firehose:region:account_id:deliverystream:my_stream
logDestination
- The destination for the flow log data. The meaning of this parameter depends on the destination type.
If the destination type is cloud-watch-logs
, specify the ARN of a CloudWatch Logs log group.
For example:
arn:aws:logs:region:account_id:log-group:my_group
Alternatively, use the LogGroupName
parameter.
If the destination type is s3
, specify the ARN of an S3 bucket. For example:
arn:aws:s3:::my_bucket/my_subfolder/
The subfolder is optional. Note that you can't use AWSLogs
as a subfolder name.
If the destination type is kinesis-data-firehose
, specify the ARN of a Kinesis Data Firehose
delivery stream. For example:
arn:aws:firehose:region:account_id:deliverystream:my_stream
public String getLogDestination()
The destination for the flow log data. The meaning of this parameter depends on the destination type.
If the destination type is cloud-watch-logs
, specify the ARN of a CloudWatch Logs log group. For
example:
arn:aws:logs:region:account_id:log-group:my_group
Alternatively, use the LogGroupName
parameter.
If the destination type is s3
, specify the ARN of an S3 bucket. For example:
arn:aws:s3:::my_bucket/my_subfolder/
The subfolder is optional. Note that you can't use AWSLogs
as a subfolder name.
If the destination type is kinesis-data-firehose
, specify the ARN of a Kinesis Data Firehose
delivery stream. For example:
arn:aws:firehose:region:account_id:deliverystream:my_stream
If the destination type is cloud-watch-logs
, specify the ARN of a CloudWatch Logs log group.
For example:
arn:aws:logs:region:account_id:log-group:my_group
Alternatively, use the LogGroupName
parameter.
If the destination type is s3
, specify the ARN of an S3 bucket. For example:
arn:aws:s3:::my_bucket/my_subfolder/
The subfolder is optional. Note that you can't use AWSLogs
as a subfolder name.
If the destination type is kinesis-data-firehose
, specify the ARN of a Kinesis Data Firehose
delivery stream. For example:
arn:aws:firehose:region:account_id:deliverystream:my_stream
public CreateFlowLogsRequest withLogDestination(String logDestination)
The destination for the flow log data. The meaning of this parameter depends on the destination type.
If the destination type is cloud-watch-logs
, specify the ARN of a CloudWatch Logs log group. For
example:
arn:aws:logs:region:account_id:log-group:my_group
Alternatively, use the LogGroupName
parameter.
If the destination type is s3
, specify the ARN of an S3 bucket. For example:
arn:aws:s3:::my_bucket/my_subfolder/
The subfolder is optional. Note that you can't use AWSLogs
as a subfolder name.
If the destination type is kinesis-data-firehose
, specify the ARN of a Kinesis Data Firehose
delivery stream. For example:
arn:aws:firehose:region:account_id:deliverystream:my_stream
logDestination
- The destination for the flow log data. The meaning of this parameter depends on the destination type.
If the destination type is cloud-watch-logs
, specify the ARN of a CloudWatch Logs log group.
For example:
arn:aws:logs:region:account_id:log-group:my_group
Alternatively, use the LogGroupName
parameter.
If the destination type is s3
, specify the ARN of an S3 bucket. For example:
arn:aws:s3:::my_bucket/my_subfolder/
The subfolder is optional. Note that you can't use AWSLogs
as a subfolder name.
If the destination type is kinesis-data-firehose
, specify the ARN of a Kinesis Data Firehose
delivery stream. For example:
arn:aws:firehose:region:account_id:deliverystream:my_stream
public void setLogFormat(String logFormat)
The fields to include in the flow log record. List the fields in the order in which they should appear. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must include at least one field. For more information about the available fields, see Flow log records in the Amazon VPC User Guide or Transit Gateway Flow Log records in the Amazon Web Services Transit Gateway Guide.
Specify the fields using the ${field-id}
format, separated by spaces.
logFormat
- The fields to include in the flow log record. List the fields in the order in which they should appear. If
you omit this parameter, the flow log is created using the default format. If you specify this parameter,
you must include at least one field. For more information about the available fields, see Flow log
records in the Amazon VPC User Guide or Transit Gateway Flow
Log records in the Amazon Web Services Transit Gateway Guide.
Specify the fields using the ${field-id}
format, separated by spaces.
public String getLogFormat()
The fields to include in the flow log record. List the fields in the order in which they should appear. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must include at least one field. For more information about the available fields, see Flow log records in the Amazon VPC User Guide or Transit Gateway Flow Log records in the Amazon Web Services Transit Gateway Guide.
Specify the fields using the ${field-id}
format, separated by spaces.
Specify the fields using the ${field-id}
format, separated by spaces.
public CreateFlowLogsRequest withLogFormat(String logFormat)
The fields to include in the flow log record. List the fields in the order in which they should appear. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must include at least one field. For more information about the available fields, see Flow log records in the Amazon VPC User Guide or Transit Gateway Flow Log records in the Amazon Web Services Transit Gateway Guide.
Specify the fields using the ${field-id}
format, separated by spaces.
logFormat
- The fields to include in the flow log record. List the fields in the order in which they should appear. If
you omit this parameter, the flow log is created using the default format. If you specify this parameter,
you must include at least one field. For more information about the available fields, see Flow log
records in the Amazon VPC User Guide or Transit Gateway Flow
Log records in the Amazon Web Services Transit Gateway Guide.
Specify the fields using the ${field-id}
format, separated by spaces.
public List<TagSpecification> getTagSpecifications()
The tags to apply to the flow logs.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the flow logs.
tagSpecifications
- The tags to apply to the flow logs.public CreateFlowLogsRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the flow logs.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to apply to the flow logs.public CreateFlowLogsRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the flow logs.
tagSpecifications
- The tags to apply to the flow logs.public void setMaxAggregationInterval(Integer maxAggregationInterval)
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter must be 60 seconds for transit gateway resource types.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds or less, regardless of the value that you specify.
Default: 600
maxAggregationInterval
- The maximum interval of time during which a flow of packets is captured and aggregated into a flow log
record. The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter must be
60 seconds for transit gateway resource types.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds or less, regardless of the value that you specify.
Default: 600
public Integer getMaxAggregationInterval()
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter must be 60 seconds for transit gateway resource types.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds or less, regardless of the value that you specify.
Default: 600
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds or less, regardless of the value that you specify.
Default: 600
public CreateFlowLogsRequest withMaxAggregationInterval(Integer maxAggregationInterval)
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter must be 60 seconds for transit gateway resource types.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds or less, regardless of the value that you specify.
Default: 600
maxAggregationInterval
- The maximum interval of time during which a flow of packets is captured and aggregated into a flow log
record. The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter must be
60 seconds for transit gateway resource types.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds or less, regardless of the value that you specify.
Default: 600
public void setDestinationOptions(DestinationOptionsRequest destinationOptions)
The destination options.
destinationOptions
- The destination options.public DestinationOptionsRequest getDestinationOptions()
The destination options.
public CreateFlowLogsRequest withDestinationOptions(DestinationOptionsRequest destinationOptions)
The destination options.
destinationOptions
- The destination options.public Request<CreateFlowLogsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateFlowLogsRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateFlowLogsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()