@Generated(value="software.amazon.awssdk:codegen") public final class FlowLog extends Object implements ToCopyableBuilder<FlowLog.Builder,FlowLog>
Describes a flow log.
Modifier and Type | Class and Description |
---|---|
static interface |
FlowLog.Builder |
Modifier and Type | Method and Description |
---|---|
static FlowLog.Builder |
builder() |
Instant |
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 ). |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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() |
TrafficType |
trafficType()
The type of traffic captured for the flow log.
|
String |
trafficTypeAsString()
The type of traffic captured for the flow log.
|
copy
public Instant 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 TrafficType trafficType()
The type of traffic captured for the flow log.
If the service returns an enum value that is not available in the current SDK version, trafficType
will
return TrafficType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
trafficTypeAsString()
.
TrafficType
public String trafficTypeAsString()
The type of traffic captured for the flow log.
If the service returns an enum value that is not available in the current SDK version, trafficType
will
return TrafficType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
trafficTypeAsString()
.
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.