ToCopyableBuilder<FlowLog.Builder,FlowLog>
@Generated("software.amazon.awssdk:codegen") public class FlowLog extends Object implements ToCopyableBuilder<FlowLog.Builder,FlowLog>
Describes a flow log.
Modifier and Type | Class | Description |
---|---|---|
static interface |
FlowLog.Builder |
Modifier and Type | Method | Description |
---|---|---|
static FlowLog.Builder |
builder() |
|
Date |
creationTime() |
The date and time the flow log was created.
|
String |
deliverLogsErrorMessage() |
Information about the error that occurred.
|
String |
deliverLogsPermissionArn() |
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
String |
deliverLogsStatus() |
The status of the logs delivery (
SUCCESS | FAILED ). |
boolean |
equals(Object obj) |
|
String |
flowLogId() |
The flow log ID.
|
String |
flowLogStatus() |
The status of the flow log (
ACTIVE ). |
int |
hashCode() |
|
String |
logGroupName() |
The name of the flow log group.
|
String |
resourceId() |
The ID of the resource on which the flow log was created.
|
static Class<? extends FlowLog.Builder> |
serializableBuilderClass() |
|
FlowLog.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
trafficType() |
The type of traffic captured for the flow log.
|
public Date creationTime()
The date and time the flow log was created.
public 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.
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.public String deliverLogsPermissionArn()
The ARN of the IAM role that posts logs to CloudWatch Logs.
public String deliverLogsStatus()
The status of the logs delivery (SUCCESS
| FAILED
).
SUCCESS
| FAILED
).public String flowLogId()
The flow log ID.
public String flowLogStatus()
The status of the flow log (ACTIVE
).
ACTIVE
).public String logGroupName()
The name of the flow log group.
public String resourceId()
The ID of the resource on which the flow log was created.
public String trafficType()
The type of traffic captured for the flow log.
TrafficType
public FlowLog.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FlowLog.Builder,FlowLog>
public static FlowLog.Builder builder()
public static Class<? extends FlowLog.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.