@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Amazon CloudWatch logs configuration for a layer.
Constructor and Description |
---|
CloudWatchLogsConfiguration() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLogsConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Whether CloudWatch Logs is enabled for a layer.
|
List<CloudWatchLogsLogStream> |
getLogStreams()
A list of configuration options for CloudWatch Logs.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether CloudWatch Logs is enabled for a layer.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Whether CloudWatch Logs is enabled for a layer.
|
void |
setLogStreams(Collection<CloudWatchLogsLogStream> logStreams)
A list of configuration options for CloudWatch Logs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CloudWatchLogsConfiguration |
withEnabled(Boolean enabled)
Whether CloudWatch Logs is enabled for a layer.
|
CloudWatchLogsConfiguration |
withLogStreams(CloudWatchLogsLogStream... logStreams)
A list of configuration options for CloudWatch Logs.
|
CloudWatchLogsConfiguration |
withLogStreams(Collection<CloudWatchLogsLogStream> logStreams)
A list of configuration options for CloudWatch Logs.
|
public void setEnabled(Boolean enabled)
Whether CloudWatch Logs is enabled for a layer.
enabled
- Whether CloudWatch Logs is enabled for a layer.public Boolean getEnabled()
Whether CloudWatch Logs is enabled for a layer.
public CloudWatchLogsConfiguration withEnabled(Boolean enabled)
Whether CloudWatch Logs is enabled for a layer.
enabled
- Whether CloudWatch Logs is enabled for a layer.public Boolean isEnabled()
Whether CloudWatch Logs is enabled for a layer.
public List<CloudWatchLogsLogStream> getLogStreams()
A list of configuration options for CloudWatch Logs.
public void setLogStreams(Collection<CloudWatchLogsLogStream> logStreams)
A list of configuration options for CloudWatch Logs.
logStreams
- A list of configuration options for CloudWatch Logs.public CloudWatchLogsConfiguration withLogStreams(CloudWatchLogsLogStream... logStreams)
A list of configuration options for CloudWatch Logs.
NOTE: This method appends the values to the existing list (if any). Use
setLogStreams(java.util.Collection)
or withLogStreams(java.util.Collection)
if you want to
override the existing values.
logStreams
- A list of configuration options for CloudWatch Logs.public CloudWatchLogsConfiguration withLogStreams(Collection<CloudWatchLogsLogStream> logStreams)
A list of configuration options for CloudWatch Logs.
logStreams
- A list of configuration options for CloudWatch Logs.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLogsConfiguration 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.