Class CloudWatchLoggingOptions
- All Implemented Interfaces:
Serializable
,Cloneable
Describes CloudWatch logging options for your delivery stream.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Enables or disables CloudWatch logging.The CloudWatch group name for logging.The CloudWatch log stream name for logging.int
hashCode()
Enables or disables CloudWatch logging.void
setEnabled
(Boolean enabled) Enables or disables CloudWatch logging.void
setLogGroupName
(String logGroupName) The CloudWatch group name for logging.void
setLogStreamName
(String logStreamName) The CloudWatch log stream name for logging.toString()
Returns a string representation of this object; useful for testing and debugging.withEnabled
(Boolean enabled) Enables or disables CloudWatch logging.withLogGroupName
(String logGroupName) The CloudWatch group name for logging.withLogStreamName
(String logStreamName) The CloudWatch log stream name for logging.
-
Constructor Details
-
CloudWatchLoggingOptions
public CloudWatchLoggingOptions()
-
-
Method Details
-
setEnabled
Enables or disables CloudWatch logging.
- Parameters:
enabled
- Enables or disables CloudWatch logging.
-
getEnabled
Enables or disables CloudWatch logging.
- Returns:
- Enables or disables CloudWatch logging.
-
withEnabled
Enables or disables CloudWatch logging.
- Parameters:
enabled
- Enables or disables CloudWatch logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
Enables or disables CloudWatch logging.
- Returns:
- Enables or disables CloudWatch logging.
-
setLogGroupName
The CloudWatch group name for logging. This value is required if Enabled is true.
- Parameters:
logGroupName
- The CloudWatch group name for logging. This value is required if Enabled is true.
-
getLogGroupName
The CloudWatch group name for logging. This value is required if Enabled is true.
- Returns:
- The CloudWatch group name for logging. This value is required if Enabled is true.
-
withLogGroupName
The CloudWatch group name for logging. This value is required if Enabled is true.
- Parameters:
logGroupName
- The CloudWatch group name for logging. This value is required if Enabled is true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogStreamName
The CloudWatch log stream name for logging. This value is required if Enabled is true.
- Parameters:
logStreamName
- The CloudWatch log stream name for logging. This value is required if Enabled is true.
-
getLogStreamName
The CloudWatch log stream name for logging. This value is required if Enabled is true.
- Returns:
- The CloudWatch log stream name for logging. This value is required if Enabled is true.
-
withLogStreamName
The CloudWatch log stream name for logging. This value is required if Enabled is true.
- Parameters:
logStreamName
- The CloudWatch log stream name for logging. This value is required if Enabled is true.- 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
-