Class CloudWatchLoggingOptions
java.lang.Object
com.amazonaws.services.kinesisfirehose.model.CloudWatchLoggingOptions
- All Implemented Interfaces:
Serializable, Cloneable
Describes CloudWatch logging options for your delivery stream.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanEnables or disables CloudWatch logging.The CloudWatch group name for logging.The CloudWatch log stream name for logging.inthashCode()Enables or disables CloudWatch logging.voidsetEnabled(Boolean enabled) Enables or disables CloudWatch logging.voidsetLogGroupName(String logGroupName) The CloudWatch group name for logging.voidsetLogStreamName(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
-
equals
-
hashCode
-
clone
-