@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowLog extends Object implements Serializable, Cloneable
Describes a flow log.
Constructor and Description |
---|
FlowLog() |
Modifier and Type | Method and Description |
---|---|
FlowLog |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The date and time the flow log was created.
|
String |
getDeliverLogsErrorMessage()
Information about the error that occurred.
|
String |
getDeliverLogsPermissionArn()
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
String |
getDeliverLogsStatus()
The status of the logs delivery (
SUCCESS | FAILED ). |
String |
getFlowLogId()
The flow log ID.
|
String |
getFlowLogStatus()
The status of the flow log (
ACTIVE ). |
String |
getLogGroupName()
The name of the flow log group.
|
String |
getResourceId()
The ID of the resource on which the flow log was created.
|
String |
getTrafficType()
The type of traffic captured for the flow log.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The date and time the flow log was created.
|
void |
setDeliverLogsErrorMessage(String deliverLogsErrorMessage)
Information about the error that occurred.
|
void |
setDeliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
void |
setDeliverLogsStatus(String deliverLogsStatus)
The status of the logs delivery (
SUCCESS | FAILED ). |
void |
setFlowLogId(String flowLogId)
The flow log ID.
|
void |
setFlowLogStatus(String flowLogStatus)
The status of the flow log (
ACTIVE ). |
void |
setLogGroupName(String logGroupName)
The name of the flow log group.
|
void |
setResourceId(String resourceId)
The ID of the resource on which the flow log was created.
|
void |
setTrafficType(String trafficType)
The type of traffic captured for the flow log.
|
void |
setTrafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FlowLog |
withCreationTime(Date creationTime)
The date and time the flow log was created.
|
FlowLog |
withDeliverLogsErrorMessage(String deliverLogsErrorMessage)
Information about the error that occurred.
|
FlowLog |
withDeliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
FlowLog |
withDeliverLogsStatus(String deliverLogsStatus)
The status of the logs delivery (
SUCCESS | FAILED ). |
FlowLog |
withFlowLogId(String flowLogId)
The flow log ID.
|
FlowLog |
withFlowLogStatus(String flowLogStatus)
The status of the flow log (
ACTIVE ). |
FlowLog |
withLogGroupName(String logGroupName)
The name of the flow log group.
|
FlowLog |
withResourceId(String resourceId)
The ID of the resource on which the flow log was created.
|
FlowLog |
withTrafficType(String trafficType)
The type of traffic captured for the flow log.
|
FlowLog |
withTrafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
|
public void setCreationTime(Date creationTime)
The date and time the flow log was created.
creationTime
- The date and time the flow log was created.public Date getCreationTime()
The date and time the flow log was created.
public FlowLog withCreationTime(Date creationTime)
The date and time the flow log was created.
creationTime
- The date and time the flow log was created.public void setDeliverLogsErrorMessage(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.public String getDeliverLogsErrorMessage()
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 FlowLog withDeliverLogsErrorMessage(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.public void setDeliverLogsPermissionArn(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.public String getDeliverLogsPermissionArn()
The ARN of the IAM role that posts logs to CloudWatch Logs.
public FlowLog withDeliverLogsPermissionArn(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.public void setDeliverLogsStatus(String deliverLogsStatus)
The status of the logs delivery (SUCCESS
| FAILED
).
deliverLogsStatus
- The status of the logs delivery (SUCCESS
| FAILED
).public String getDeliverLogsStatus()
The status of the logs delivery (SUCCESS
| FAILED
).
SUCCESS
| FAILED
).public FlowLog withDeliverLogsStatus(String deliverLogsStatus)
The status of the logs delivery (SUCCESS
| FAILED
).
deliverLogsStatus
- The status of the logs delivery (SUCCESS
| FAILED
).public void setFlowLogId(String flowLogId)
The flow log ID.
flowLogId
- The flow log ID.public String getFlowLogId()
The flow log ID.
public FlowLog withFlowLogId(String flowLogId)
The flow log ID.
flowLogId
- The flow log ID.public void setFlowLogStatus(String flowLogStatus)
The status of the flow log (ACTIVE
).
flowLogStatus
- The status of the flow log (ACTIVE
).public String getFlowLogStatus()
The status of the flow log (ACTIVE
).
ACTIVE
).public FlowLog withFlowLogStatus(String flowLogStatus)
The status of the flow log (ACTIVE
).
flowLogStatus
- The status of the flow log (ACTIVE
).public void setLogGroupName(String logGroupName)
The name of the flow log group.
logGroupName
- The name of the flow log group.public String getLogGroupName()
The name of the flow log group.
public FlowLog withLogGroupName(String logGroupName)
The name of the flow log group.
logGroupName
- The name of the flow log group.public void setResourceId(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.public String getResourceId()
The ID of the resource on which the flow log was created.
public FlowLog withResourceId(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.public void setTrafficType(String trafficType)
The type of traffic captured for the flow log.
trafficType
- The type of traffic captured for the flow log.TrafficType
public String getTrafficType()
The type of traffic captured for the flow log.
TrafficType
public FlowLog withTrafficType(String trafficType)
The type of traffic captured for the flow log.
trafficType
- The type of traffic captured for the flow log.TrafficType
public void setTrafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
trafficType
- The type of traffic captured for the flow log.TrafficType
public FlowLog withTrafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
trafficType
- The type of traffic captured for the flow log.TrafficType
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.