public class CloudWatchLoggingOptions extends Object implements Serializable, Cloneable
Describes CloudWatch logging options for your delivery stream.
Constructor and Description |
---|
CloudWatchLoggingOptions() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLoggingOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Enables or disables CloudWatch logging.
|
String |
getLogGroupName()
The CloudWatch group name for logging.
|
String |
getLogStreamName()
The CloudWatch log stream name for logging.
|
int |
hashCode() |
Boolean |
isEnabled()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CloudWatchLoggingOptions |
withEnabled(Boolean enabled)
Enables or disables CloudWatch logging.
|
CloudWatchLoggingOptions |
withLogGroupName(String logGroupName)
The CloudWatch group name for logging.
|
CloudWatchLoggingOptions |
withLogStreamName(String logStreamName)
The CloudWatch log stream name for logging.
|
public void setEnabled(Boolean enabled)
Enables or disables CloudWatch logging.
enabled
- Enables or disables CloudWatch logging.public Boolean getEnabled()
Enables or disables CloudWatch logging.
public CloudWatchLoggingOptions withEnabled(Boolean enabled)
Enables or disables CloudWatch logging.
enabled
- Enables or disables CloudWatch logging.public Boolean isEnabled()
Enables or disables CloudWatch logging.
public void setLogGroupName(String logGroupName)
The CloudWatch group name for logging. This value is required if Enabled is true.
logGroupName
- The CloudWatch group name for logging. This value is required if
Enabled is true.public String getLogGroupName()
The CloudWatch group name for logging. This value is required if Enabled is true.
public CloudWatchLoggingOptions withLogGroupName(String logGroupName)
The CloudWatch group name for logging. This value is required if Enabled is true.
logGroupName
- The CloudWatch group name for logging. This value is required if
Enabled is true.public void setLogStreamName(String logStreamName)
The CloudWatch log stream name for logging. This value is required if Enabled is true.
logStreamName
- The CloudWatch log stream name for logging. This value is required
if Enabled is true.public String getLogStreamName()
The CloudWatch log stream name for logging. This value is required if Enabled is true.
public CloudWatchLoggingOptions withLogStreamName(String logStreamName)
The CloudWatch log stream name for logging. This value is required if Enabled is true.
logStreamName
- The CloudWatch log stream name for logging. This value is required
if Enabled is true.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLoggingOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.