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 Date getCreationTime()
public void setCreationTime(Date creationTime)
creationTime - The date and time the flow log was created.public FlowLog withCreationTime(Date creationTime)
Returns a reference to this object so that method calls can be chained together.
creationTime - The date and time the flow log was created.public String getFlowLogId()
public void setFlowLogId(String flowLogId)
flowLogId - The flow log ID.public FlowLog withFlowLogId(String flowLogId)
Returns a reference to this object so that method calls can be chained together.
flowLogId - The flow log ID.public String getFlowLogStatus()
ACTIVE).ACTIVE).public void setFlowLogStatus(String flowLogStatus)
ACTIVE).flowLogStatus - The status of the flow log (ACTIVE).public FlowLog withFlowLogStatus(String flowLogStatus)
ACTIVE).
 Returns a reference to this object so that method calls can be chained together.
flowLogStatus - The status of the flow log (ACTIVE).public String getResourceId()
public void setResourceId(String resourceId)
resourceId - The ID of the resource on which the flow log was created.public FlowLog withResourceId(String resourceId)
Returns a reference to this object so that method calls can be chained together.
resourceId - The ID of the resource on which the flow log was created.public String getTrafficType()
 Constraints:
 Allowed Values: ACCEPT, REJECT, ALL
TrafficTypepublic void setTrafficType(String trafficType)
 Constraints:
 Allowed Values: ACCEPT, REJECT, ALL
trafficType - The type of traffic captured for the flow log.TrafficTypepublic FlowLog withTrafficType(String trafficType)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: ACCEPT, REJECT, ALL
trafficType - The type of traffic captured for the flow log.TrafficTypepublic void setTrafficType(TrafficType trafficType)
 Constraints:
 Allowed Values: ACCEPT, REJECT, ALL
trafficType - The type of traffic captured for the flow log.TrafficTypepublic FlowLog withTrafficType(TrafficType trafficType)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: ACCEPT, REJECT, ALL
trafficType - The type of traffic captured for the flow log.TrafficTypepublic String getLogGroupName()
public void setLogGroupName(String logGroupName)
logGroupName - The name of the flow log group.public FlowLog withLogGroupName(String logGroupName)
Returns a reference to this object so that method calls can be chained together.
logGroupName - The name of the flow log group.public String getDeliverLogsStatus()
SUCCESS |
 FAILED).SUCCESS |
         FAILED).public void setDeliverLogsStatus(String deliverLogsStatus)
SUCCESS |
 FAILED).deliverLogsStatus - The status of the logs delivery (SUCCESS |
         FAILED).public FlowLog withDeliverLogsStatus(String deliverLogsStatus)
SUCCESS |
 FAILED).
 Returns a reference to this object so that method calls can be chained together.
deliverLogsStatus - The status of the logs delivery (SUCCESS |
         FAILED).public String getDeliverLogsErrorMessage()
Rate limited
 indicates that CloudWatch logs throttling has been applied for one or
 more network interfaces. 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. 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 setDeliverLogsErrorMessage(String deliverLogsErrorMessage)
Rate limited
 indicates that CloudWatch logs throttling has been applied for one or
 more network interfaces. 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. 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)
Rate limited
 indicates that CloudWatch logs throttling has been applied for one or
 more network interfaces. 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.
 Returns a reference to this object so that method calls can be chained together.
deliverLogsErrorMessage - Information about the error that occurred. Rate limited
         indicates that CloudWatch logs throttling has been applied for one or
         more network interfaces. 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 getDeliverLogsPermissionArn()
public void setDeliverLogsPermissionArn(String deliverLogsPermissionArn)
deliverLogsPermissionArn - The ARN of the IAM role that posts logs to CloudWatch Logs.public FlowLog withDeliverLogsPermissionArn(String deliverLogsPermissionArn)
Returns a reference to this object so that method calls can be chained together.
deliverLogsPermissionArn - The ARN of the IAM role that posts logs to CloudWatch Logs.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.