StructuredPojo, ToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>@Generated("software.amazon.awssdk:codegen") public class CloudWatchLoggingOption extends Object implements StructuredPojo, ToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
Provides a description of CloudWatch logging options, including the log stream ARN and the role ARN.
| Modifier and Type | Class | Description | 
|---|---|---|
| static interface  | CloudWatchLoggingOption.Builder | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static CloudWatchLoggingOption.Builder | builder() | |
| boolean | equals(Object obj) | |
| 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() | 
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 used must have the PutLogEvents policy action enabled.
 
PutLogEvents policy action enabled.public CloudWatchLoggingOption.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>public static CloudWatchLoggingOption.Builder builder()
public static Class<? extends CloudWatchLoggingOption.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.