@Generated(value="software.amazon.awssdk:codegen") public final class CloudWatchLoggingOption extends Object implements StructuredPojo, ToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.
Modifier and Type | Class and Description |
---|---|
static interface |
CloudWatchLoggingOption.Builder |
Modifier and Type | Method and Description |
---|---|
static CloudWatchLoggingOption.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logStreamARN()
ARN of the CloudWatch log to receive application messages.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleARN()
IAM ARN of the role to use to send application messages.
|
static Class<? extends CloudWatchLoggingOption.Builder> |
serializableBuilderClass() |
CloudWatchLoggingOption.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String logStreamARN()
ARN of the CloudWatch log to receive application messages.
public String roleARN()
IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the
IAM role that is used must have the PutLogEvents
policy action enabled.
PutLogEvents
policy action enabled.public CloudWatchLoggingOption.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
public static CloudWatchLoggingOption.Builder builder()
public static Class<? extends CloudWatchLoggingOption.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.