public static interface CreateFlowLogsRequest.Builder extends Ec2Request.Builder, CopyableBuilder<CreateFlowLogsRequest.Builder,CreateFlowLogsRequest>
Modifier and Type | Method and Description |
---|---|
CreateFlowLogsRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateFlowLogsRequest.Builder |
deliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group.
|
CreateFlowLogsRequest.Builder |
logGroupName(String logGroupName)
The name of the CloudWatch log group.
|
CreateFlowLogsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateFlowLogsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateFlowLogsRequest.Builder |
resourceIds(Collection<String> resourceIds)
One or more subnet, network interface, or VPC IDs.
|
CreateFlowLogsRequest.Builder |
resourceIds(String... resourceIds)
One or more subnet, network interface, or VPC IDs.
|
CreateFlowLogsRequest.Builder |
resourceType(FlowLogsResourceType resourceType)
The type of resource on which to create the flow log.
|
CreateFlowLogsRequest.Builder |
resourceType(String resourceType)
The type of resource on which to create the flow log.
|
CreateFlowLogsRequest.Builder |
trafficType(String trafficType)
The type of traffic to log.
|
CreateFlowLogsRequest.Builder |
trafficType(TrafficType trafficType)
The type of traffic to log.
|
build
overrideConfiguration
copy
applyMutation, build
CreateFlowLogsRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.CreateFlowLogsRequest.Builder deliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group.
deliverLogsPermissionArn
- The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group.CreateFlowLogsRequest.Builder logGroupName(String logGroupName)
The name of the CloudWatch log group.
logGroupName
- The name of the CloudWatch log group.CreateFlowLogsRequest.Builder resourceIds(Collection<String> resourceIds)
One or more subnet, network interface, or VPC IDs.
Constraints: Maximum of 1000 resources
resourceIds
- One or more subnet, network interface, or VPC IDs.
Constraints: Maximum of 1000 resources
CreateFlowLogsRequest.Builder resourceIds(String... resourceIds)
One or more subnet, network interface, or VPC IDs.
Constraints: Maximum of 1000 resources
resourceIds
- One or more subnet, network interface, or VPC IDs.
Constraints: Maximum of 1000 resources
CreateFlowLogsRequest.Builder resourceType(String resourceType)
The type of resource on which to create the flow log.
resourceType
- The type of resource on which to create the flow log.FlowLogsResourceType
,
FlowLogsResourceType
CreateFlowLogsRequest.Builder resourceType(FlowLogsResourceType resourceType)
The type of resource on which to create the flow log.
resourceType
- The type of resource on which to create the flow log.FlowLogsResourceType
,
FlowLogsResourceType
CreateFlowLogsRequest.Builder trafficType(String trafficType)
The type of traffic to log.
trafficType
- The type of traffic to log.TrafficType
,
TrafficType
CreateFlowLogsRequest.Builder trafficType(TrafficType trafficType)
The type of traffic to log.
trafficType
- The type of traffic to log.TrafficType
,
TrafficType
CreateFlowLogsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateFlowLogsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.