CopyableBuilder<CreateFlowLogsRequest.Builder,CreateFlowLogsRequest>, SdkBuilder<CreateFlowLogsRequest.Builder,CreateFlowLogsRequest>public static interface CreateFlowLogsRequest.Builder extends CopyableBuilder<CreateFlowLogsRequest.Builder,CreateFlowLogsRequest>
| Modifier and Type | Method | 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 |
resourceIds(String... resourceIds) |
One or more subnet, network interface, or VPC IDs.
|
CreateFlowLogsRequest.Builder |
resourceIds(Collection<String> resourceIds) |
One or more subnet, network interface, or VPC IDs.
|
CreateFlowLogsRequest.Builder |
resourceType(String resourceType) |
The type of resource on which to create the flow log.
|
CreateFlowLogsRequest.Builder |
resourceType(FlowLogsResourceType 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.
|
copyapply, 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
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 - 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.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.FlowLogsResourceTypeCreateFlowLogsRequest.Builder trafficType(String trafficType)
The type of traffic to log.
trafficType - The type of traffic to log.TrafficTypeCreateFlowLogsRequest.Builder trafficType(TrafficType trafficType)
The type of traffic to log.
trafficType - The type of traffic to log.TrafficTypeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.