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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateFlowLogsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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.
|
buildrequestOverrideConfigcopyapply, buildCreateFlowLogsRequest.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,
FlowLogsResourceTypeCreateFlowLogsRequest.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,
FlowLogsResourceTypeCreateFlowLogsRequest.Builder trafficType(String trafficType)
The type of traffic to log.
trafficType - The type of traffic to log.TrafficType,
TrafficTypeCreateFlowLogsRequest.Builder trafficType(TrafficType trafficType)
The type of traffic to log.
trafficType - The type of traffic to log.TrafficType,
TrafficTypeCreateFlowLogsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateFlowLogsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.