public static interface FlowLog.Builder extends 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 ). |
FlowLog.Builder |
flowLogId(String flowLogId)
The flow log ID.
|
FlowLog.Builder |
flowLogStatus(String flowLogStatus)
The status of the flow log (
ACTIVE ). |
FlowLog.Builder |
logGroupName(String 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.
|
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.
|
copy
applyMutation, build
FlowLog.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 CloudWatch Logs 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 CloudWatch Logs 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
,
TrafficType
FlowLog.Builder trafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
trafficType
- The type of traffic captured for the flow log.TrafficType
,
TrafficType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.