@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLoggingOptions extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Amazon 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 CloudWatch logging is enabled.
logGroupName
- The CloudWatch group name for logging. This value is required if CloudWatch logging is enabled.public String getLogGroupName()
The CloudWatch group name for logging. This value is required if CloudWatch logging is enabled.
public CloudWatchLoggingOptions withLogGroupName(String logGroupName)
The CloudWatch group name for logging. This value is required if CloudWatch logging is enabled.
logGroupName
- The CloudWatch group name for logging. This value is required if CloudWatch logging is enabled.public void setLogStreamName(String logStreamName)
The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled.
logStreamName
- The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled.public String getLogStreamName()
The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled.
public CloudWatchLoggingOptions withLogStreamName(String logStreamName)
The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled.
logStreamName
- The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLoggingOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.