Class FlowLog
- All Implemented Interfaces:
Serializable, Cloneable
Describes a flow log.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe 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.inthashCode()voidsetCreationTime(Date creationTime) The date and time the flow log was created.voidsetDeliverLogsErrorMessage(String deliverLogsErrorMessage) Information about the error that occurred.voidsetDeliverLogsPermissionArn(String deliverLogsPermissionArn) The ARN of the IAM role that posts logs to CloudWatch Logs.voidsetDeliverLogsStatus(String deliverLogsStatus) The status of the logs delivery (SUCCESS|FAILED).voidsetFlowLogId(String flowLogId) The flow log ID.voidsetFlowLogStatus(String flowLogStatus) The status of the flow log (ACTIVE).voidsetLogGroupName(String logGroupName) The name of the flow log group.voidsetResourceId(String resourceId) The ID of the resource on which the flow log was created.voidsetTrafficType(TrafficType trafficType) The type of traffic captured for the flow log.voidsetTrafficType(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
-
setFlowLogId
The flow log ID.
- Parameters:
flowLogId- The flow log ID.
-
getFlowLogId
-
withFlowLogId
-
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
-
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
-
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
-
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
-
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
-
setDeliverLogsErrorMessage
Information about the error that occurred.
Rate limitedindicates 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 errorindicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.Unknown errorindicates an internal error.- Parameters:
deliverLogsErrorMessage- Information about the error that occurred.Rate limitedindicates 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 errorindicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.Unknown errorindicates an internal error.
-
getDeliverLogsErrorMessage
Information about the error that occurred.
Rate limitedindicates 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 errorindicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.Unknown errorindicates an internal error.- Returns:
- Information about the error that occurred.
Rate limitedindicates 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 errorindicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.Unknown errorindicates an internal error.
-
withDeliverLogsErrorMessage
Information about the error that occurred.
Rate limitedindicates 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 errorindicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.Unknown errorindicates an internal error.- Parameters:
deliverLogsErrorMessage- Information about the error that occurred.Rate limitedindicates 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 errorindicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.Unknown errorindicates 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
-
equals
-
hashCode
-
clone
-