@Generated(value="software.amazon.awssdk:codegen") public class FlowLog extends Object implements software.amazon.awssdk.utils.builder.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() |
String |
toString() |
TrafficType |
trafficType()
The type of traffic captured for the flow log.
|
String |
trafficTypeAsString()
The type of traffic captured for the flow log.
|
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().
TrafficTypepublic 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().
TrafficTypepublic FlowLog.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<FlowLog.Builder,FlowLog>public static FlowLog.Builder builder()
public static Class<? extends FlowLog.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.