public static interface FlowLog.Builder extends SdkPojo, CopyableBuilder<FlowLog.Builder,FlowLog>
| Modifier and Type | Method and Description |
|---|---|
FlowLog.Builder |
creationTime(Instant creationTime)
The date and time the flow log was created.
|
FlowLog.Builder |
deliverLogsErrorMessage(String deliverLogsErrorMessage)
Information about the error that occurred.
|
FlowLog.Builder |
deliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
FlowLog.Builder |
deliverLogsStatus(String deliverLogsStatus)
The status of the logs delivery (
SUCCESS | FAILED). |
default FlowLog.Builder |
destinationOptions(Consumer<DestinationOptionsResponse.Builder> destinationOptions)
The destination options.
|
FlowLog.Builder |
destinationOptions(DestinationOptionsResponse destinationOptions)
The destination options.
|
FlowLog.Builder |
flowLogId(String flowLogId)
The flow log ID.
|
FlowLog.Builder |
flowLogStatus(String flowLogStatus)
The status of the flow log (
ACTIVE). |
FlowLog.Builder |
logDestination(String logDestination)
The destination to which the flow log data is published.
|
FlowLog.Builder |
logDestinationType(LogDestinationType logDestinationType)
The type of destination to which the flow log data is published.
|
FlowLog.Builder |
logDestinationType(String logDestinationType)
The type of destination to which the flow log data is published.
|
FlowLog.Builder |
logFormat(String logFormat)
The format of the flow log record.
|
FlowLog.Builder |
logGroupName(String logGroupName)
The name of the flow log group.
|
FlowLog.Builder |
maxAggregationInterval(Integer maxAggregationInterval)
The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a
flow log record.
|
FlowLog.Builder |
resourceId(String resourceId)
The ID of the resource on which the flow log was created.
|
FlowLog.Builder |
tags(Collection<Tag> tags)
The tags for the flow log.
|
FlowLog.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the flow log.
|
FlowLog.Builder |
tags(Tag... tags)
The tags for the flow log.
|
FlowLog.Builder |
trafficType(String trafficType)
The type of traffic captured for the flow log.
|
FlowLog.Builder |
trafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFlowLog.Builder creationTime(Instant creationTime)
The date and time the flow log was created.
creationTime - The date and time the flow log was created.FlowLog.Builder deliverLogsErrorMessage(String deliverLogsErrorMessage)
Information about the error that occurred. Rate limited indicates that CloudWatch Logs
throttling has been applied for one or more network interfaces, or that you've reached the limit on the
number of log groups that you can create. Access error indicates that the IAM role associated
with the flow log does not have sufficient permissions to publish to CloudWatch Logs.
Unknown error indicates an internal error.
deliverLogsErrorMessage - Information about the error that occurred. Rate limited indicates that CloudWatch Logs
throttling has been applied for one or more network interfaces, or that you've reached the limit on
the number of log groups that you can create. Access error indicates that the IAM role
associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.
Unknown error indicates an internal error.FlowLog.Builder deliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that posts logs to CloudWatch Logs.
deliverLogsPermissionArn - The ARN of the IAM role that posts logs to CloudWatch Logs.FlowLog.Builder deliverLogsStatus(String deliverLogsStatus)
The status of the logs delivery (SUCCESS | FAILED).
deliverLogsStatus - The status of the logs delivery (SUCCESS | FAILED).FlowLog.Builder flowLogId(String flowLogId)
The flow log ID.
flowLogId - The flow log ID.FlowLog.Builder flowLogStatus(String flowLogStatus)
The status of the flow log (ACTIVE).
flowLogStatus - The status of the flow log (ACTIVE).FlowLog.Builder logGroupName(String logGroupName)
The name of the flow log group.
logGroupName - The name of the flow log group.FlowLog.Builder resourceId(String resourceId)
The ID of the resource on which the flow log was created.
resourceId - The ID of the resource on which the flow log was created.FlowLog.Builder trafficType(String trafficType)
The type of traffic captured for the flow log.
trafficType - The type of traffic captured for the flow log.TrafficType,
TrafficTypeFlowLog.Builder trafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
trafficType - The type of traffic captured for the flow log.TrafficType,
TrafficTypeFlowLog.Builder logDestinationType(String logDestinationType)
The type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logDestinationType - The type of destination to which the flow log data is published. Flow log data can be published to
CloudWatch Logs or Amazon S3.LogDestinationType,
LogDestinationTypeFlowLog.Builder logDestinationType(LogDestinationType logDestinationType)
The type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logDestinationType - The type of destination to which the flow log data is published. Flow log data can be published to
CloudWatch Logs or Amazon S3.LogDestinationType,
LogDestinationTypeFlowLog.Builder logDestination(String logDestination)
The destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.
logDestination - The destination to which the flow log data is published. Flow log data can be published to an
CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this
element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is
published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3
bucket to which the data is published.FlowLog.Builder logFormat(String logFormat)
The format of the flow log record.
logFormat - The format of the flow log record.FlowLog.Builder tags(Collection<Tag> tags)
The tags for the flow log.
tags - The tags for the flow log.FlowLog.Builder tags(Tag... tags)
The tags for the flow log.
tags - The tags for the flow log.FlowLog.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the flow log.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) FlowLog.Builder maxAggregationInterval(Integer maxAggregationInterval)
The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.
Valid Values: 60 | 600
maxAggregationInterval - The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated
into a flow log record.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.
Valid Values: 60 | 600
FlowLog.Builder destinationOptions(DestinationOptionsResponse destinationOptions)
The destination options.
destinationOptions - The destination options.default FlowLog.Builder destinationOptions(Consumer<DestinationOptionsResponse.Builder> destinationOptions)
The destination options.
This is a convenience that creates an instance of theDestinationOptionsResponse.Builder avoiding the
need to create one manually via DestinationOptionsResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to destinationOptions(DestinationOptionsResponse).destinationOptions - a consumer that will call methods on DestinationOptionsResponse.BuilderdestinationOptions(DestinationOptionsResponse)Copyright © 2021. All rights reserved.