StructuredPojo
, ToCopyableBuilder<CloudWatchLoggingOptions.Builder,CloudWatchLoggingOptions>
@Generated("software.amazon.awssdk:codegen") public class CloudWatchLoggingOptions extends Object implements StructuredPojo, ToCopyableBuilder<CloudWatchLoggingOptions.Builder,CloudWatchLoggingOptions>
Describes the CloudWatch logging options for your delivery stream.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CloudWatchLoggingOptions.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CloudWatchLoggingOptions.Builder |
builder() |
|
Boolean |
enabled() |
Enables or disables CloudWatch logging.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
logGroupName() |
The CloudWatch group name for logging.
|
String |
logStreamName() |
The CloudWatch log stream name for logging.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends CloudWatchLoggingOptions.Builder> |
serializableBuilderClass() |
|
CloudWatchLoggingOptions.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Boolean enabled()
Enables or disables CloudWatch logging.
public String logGroupName()
The CloudWatch group name for logging. This value is required if CloudWatch logging is enabled.
public String logStreamName()
The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled.
public CloudWatchLoggingOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CloudWatchLoggingOptions.Builder,CloudWatchLoggingOptions>
public static CloudWatchLoggingOptions.Builder builder()
public static Class<? extends CloudWatchLoggingOptions.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.