@Generated(value="software.amazon.awssdk:codegen") public class CloudWatchLogsConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<CloudWatchLogsConfiguration.Builder,CloudWatchLogsConfiguration>
Describes the Amazon CloudWatch logs configuration for a layer.
Modifier and Type | Class and Description |
---|---|
static interface |
CloudWatchLogsConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static CloudWatchLogsConfiguration.Builder |
builder() |
Boolean |
enabled()
Whether CloudWatch Logs is enabled for a layer.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<CloudWatchLogsLogStream> |
logStreams()
A list of configuration options for CloudWatch Logs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends CloudWatchLogsConfiguration.Builder> |
serializableBuilderClass() |
CloudWatchLogsConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Boolean enabled()
Whether CloudWatch Logs is enabled for a layer.
public List<CloudWatchLogsLogStream> logStreams()
A list of configuration options for CloudWatch Logs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CloudWatchLogsConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CloudWatchLogsConfiguration.Builder,CloudWatchLogsConfiguration>
public static CloudWatchLogsConfiguration.Builder builder()
public static Class<? extends CloudWatchLogsConfiguration.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.