public class FlowLog
extends java.lang.Object
implements java.io.Serializable
Describes a flow log.
| Constructor and Description |
|---|
FlowLog() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTime()
The date and time the flow log was created.
|
java.lang.String |
getDeliverLogsErrorMessage()
Information about the error that occurred.
|
java.lang.String |
getDeliverLogsPermissionArn()
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
java.lang.String |
getDeliverLogsStatus()
The status of the logs delivery (
SUCCESS |
FAILED). |
java.lang.String |
getFlowLogId()
The flow log ID.
|
java.lang.String |
getFlowLogStatus()
The status of the flow log (
ACTIVE). |
java.lang.String |
getLogGroupName()
The name of the flow log group.
|
java.lang.String |
getResourceId()
The ID of the resource on which the flow log was created.
|
java.lang.String |
getTrafficType()
The type of traffic captured for the flow log.
|
int |
hashCode() |
void |
setCreationTime(java.util.Date creationTime)
The date and time the flow log was created.
|
void |
setDeliverLogsErrorMessage(java.lang.String deliverLogsErrorMessage)
Information about the error that occurred.
|
void |
setDeliverLogsPermissionArn(java.lang.String deliverLogsPermissionArn)
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
void |
setDeliverLogsStatus(java.lang.String deliverLogsStatus)
The status of the logs delivery (
SUCCESS |
FAILED). |
void |
setFlowLogId(java.lang.String flowLogId)
The flow log ID.
|
void |
setFlowLogStatus(java.lang.String flowLogStatus)
The status of the flow log (
ACTIVE). |
void |
setLogGroupName(java.lang.String logGroupName)
The name of the flow log group.
|
void |
setResourceId(java.lang.String resourceId)
The ID of the resource on which the flow log was created.
|
void |
setTrafficType(java.lang.String trafficType)
The type of traffic captured for the flow log.
|
void |
setTrafficType(TrafficType trafficType)
The type of traffic captured for the flow log.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FlowLog |
withCreationTime(java.util.Date creationTime)
The date and time the flow log was created.
|
FlowLog |
withDeliverLogsErrorMessage(java.lang.String deliverLogsErrorMessage)
Information about the error that occurred.
|
FlowLog |
withDeliverLogsPermissionArn(java.lang.String deliverLogsPermissionArn)
The ARN of the IAM role that posts logs to CloudWatch Logs.
|
FlowLog |
withDeliverLogsStatus(java.lang.String deliverLogsStatus)
The status of the logs delivery (
SUCCESS |
FAILED). |
FlowLog |
withFlowLogId(java.lang.String flowLogId)
The flow log ID.
|
FlowLog |
withFlowLogStatus(java.lang.String flowLogStatus)
The status of the flow log (
ACTIVE). |
FlowLog |
withLogGroupName(java.lang.String logGroupName)
The name of the flow log group.
|
FlowLog |
withResourceId(java.lang.String resourceId)
The ID of the resource on which the flow log was created.
|
FlowLog |
withTrafficType(java.lang.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 java.util.Date getCreationTime()
public void setCreationTime(java.util.Date creationTime)
creationTime - The date and time the flow log was created.public FlowLog withCreationTime(java.util.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 java.lang.String getFlowLogId()
public void setFlowLogId(java.lang.String flowLogId)
flowLogId - The flow log ID.public FlowLog withFlowLogId(java.lang.String flowLogId)
Returns a reference to this object so that method calls can be chained together.
flowLogId - The flow log ID.public java.lang.String getFlowLogStatus()
ACTIVE).ACTIVE).public void setFlowLogStatus(java.lang.String flowLogStatus)
ACTIVE).flowLogStatus - The status of the flow log (ACTIVE).public FlowLog withFlowLogStatus(java.lang.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 java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId - The ID of the resource on which the flow log was created.public FlowLog withResourceId(java.lang.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 java.lang.String getTrafficType()
Constraints:
Allowed Values: ACCEPT, REJECT, ALL
TrafficTypepublic void setTrafficType(java.lang.String trafficType)
Constraints:
Allowed Values: ACCEPT, REJECT, ALL
trafficType - The type of traffic captured for the flow log.TrafficTypepublic FlowLog withTrafficType(java.lang.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 java.lang.String getLogGroupName()
public void setLogGroupName(java.lang.String logGroupName)
logGroupName - The name of the flow log group.public FlowLog withLogGroupName(java.lang.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 java.lang.String getDeliverLogsStatus()
SUCCESS |
FAILED).SUCCESS |
FAILED).public void setDeliverLogsStatus(java.lang.String deliverLogsStatus)
SUCCESS |
FAILED).deliverLogsStatus - The status of the logs delivery (SUCCESS |
FAILED).public FlowLog withDeliverLogsStatus(java.lang.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 java.lang.String getDeliverLogsErrorMessage()
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 void setDeliverLogsErrorMessage(java.lang.String deliverLogsErrorMessage)
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 FlowLog withDeliverLogsErrorMessage(java.lang.String deliverLogsErrorMessage)
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.
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, 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 java.lang.String getDeliverLogsPermissionArn()
public void setDeliverLogsPermissionArn(java.lang.String deliverLogsPermissionArn)
deliverLogsPermissionArn - The ARN of the IAM role that posts logs to CloudWatch Logs.public FlowLog withDeliverLogsPermissionArn(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.