Class FlowLog
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a flow log.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time the flow log was created.Information about the error that occurred.The ARN of the IAM role that posts logs to CloudWatch Logs.The status of the logs delivery (SUCCESS
|FAILED
).The flow log ID.The status of the flow log (ACTIVE
).The name of the flow log group.The ID of the resource on which the flow log was created.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
(TrafficType trafficType) The type of traffic captured for the flow log.void
setTrafficType
(String trafficType) The type of traffic captured for the flow log.toString()
Returns a string representation of this object; useful for testing and debugging.withCreationTime
(Date creationTime) The date and time the flow log was created.withDeliverLogsErrorMessage
(String deliverLogsErrorMessage) Information about the error that occurred.withDeliverLogsPermissionArn
(String deliverLogsPermissionArn) The ARN of the IAM role that posts logs to CloudWatch Logs.withDeliverLogsStatus
(String deliverLogsStatus) The status of the logs delivery (SUCCESS
|FAILED
).withFlowLogId
(String flowLogId) The flow log ID.withFlowLogStatus
(String flowLogStatus) The status of the flow log (ACTIVE
).withLogGroupName
(String logGroupName) The name of the flow log group.withResourceId
(String resourceId) The ID of the resource on which the flow log was created.withTrafficType
(TrafficType trafficType) The type of traffic captured for the flow log.withTrafficType
(String trafficType) The type of traffic captured for the flow log.
-
Constructor Details
-
FlowLog
public FlowLog()
-
-
Method Details
-
setCreationTime
The date and time the flow log was created.
- Parameters:
creationTime
- The date and time the flow log was created.
-
getCreationTime
The date and time the flow log was created.
- Returns:
- The date and time the flow log was created.
-
withCreationTime
The date and time the flow log was created.
- Parameters:
creationTime
- The date and time the flow log was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFlowLogId
The flow log ID.
- Parameters:
flowLogId
- The flow log ID.
-
getFlowLogId
The flow log ID.
- Returns:
- The flow log ID.
-
withFlowLogId
The flow log ID.
- Parameters:
flowLogId
- The flow log ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFlowLogStatus
The status of the flow log (
ACTIVE
).- Parameters:
flowLogStatus
- The status of the flow log (ACTIVE
).
-
getFlowLogStatus
The status of the flow log (
ACTIVE
).- Returns:
- The status of the flow log (
ACTIVE
).
-
withFlowLogStatus
The status of the flow log (
ACTIVE
).- Parameters:
flowLogStatus
- The status of the flow log (ACTIVE
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceId
The ID of the resource on which the flow log was created.
- Parameters:
resourceId
- The ID of the resource on which the flow log was created.
-
getResourceId
The ID of the resource on which the flow log was created.
- Returns:
- The ID of the resource on which the flow log was created.
-
withResourceId
The ID of the resource on which the flow log was created.
- Parameters:
resourceId
- The ID of the resource on which the flow log was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficType
The type of traffic captured for the flow log.
- Parameters:
trafficType
- The type of traffic captured for the flow log.- See Also:
-
getTrafficType
The type of traffic captured for the flow log.
- Returns:
- The type of traffic captured for the flow log.
- See Also:
-
withTrafficType
The type of traffic captured for the flow log.
- Parameters:
trafficType
- The type of traffic captured for the flow log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTrafficType
The type of traffic captured for the flow log.
- Parameters:
trafficType
- The type of traffic captured for the flow log.- See Also:
-
withTrafficType
The type of traffic captured for the flow log.
- Parameters:
trafficType
- The type of traffic captured for the flow log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setLogGroupName
The name of the flow log group.
- Parameters:
logGroupName
- The name of the flow log group.
-
getLogGroupName
The name of the flow log group.
- Returns:
- The name of the flow log group.
-
withLogGroupName
The name of the flow log group.
- Parameters:
logGroupName
- The name of the flow log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliverLogsStatus
The status of the logs delivery (
SUCCESS
|FAILED
).- Parameters:
deliverLogsStatus
- The status of the logs delivery (SUCCESS
|FAILED
).
-
getDeliverLogsStatus
The status of the logs delivery (
SUCCESS
|FAILED
).- Returns:
- The status of the logs delivery (
SUCCESS
|FAILED
).
-
withDeliverLogsStatus
The status of the logs delivery (
SUCCESS
|FAILED
).- Parameters:
deliverLogsStatus
- The status of the logs delivery (SUCCESS
|FAILED
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliverLogsErrorMessage
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.- Parameters:
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.
-
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.- Returns:
- 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.
-
withDeliverLogsErrorMessage
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliverLogsPermissionArn
The ARN of the IAM role that posts logs to CloudWatch Logs.
- Parameters:
deliverLogsPermissionArn
- The ARN of the IAM role that posts logs to CloudWatch Logs.
-
getDeliverLogsPermissionArn
The ARN of the IAM role that posts logs to CloudWatch Logs.
- Returns:
- The ARN of the IAM role that posts logs to CloudWatch Logs.
-
withDeliverLogsPermissionArn
The ARN of the IAM role that posts logs to CloudWatch Logs.
- Parameters:
deliverLogsPermissionArn
- The ARN of the IAM role that posts logs to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-