@Generated(value="software.amazon.awssdk:codegen") public final class CloudWatchLoggingOptionDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchLoggingOptionDescription.Builder,CloudWatchLoggingOptionDescription>
Description of the CloudWatch logging option.
Modifier and Type | Class and Description |
---|---|
static interface |
CloudWatchLoggingOptionDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static CloudWatchLoggingOptionDescription.Builder |
builder() |
String |
cloudWatchLoggingOptionId()
ID of the CloudWatch logging option description.
|
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.
|
String |
roleARN()
IAM ARN of the role to use to send application messages.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CloudWatchLoggingOptionDescription.Builder> |
serializableBuilderClass() |
CloudWatchLoggingOptionDescription.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 cloudWatchLoggingOptionId()
ID of the CloudWatch logging option description.
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 CloudWatchLoggingOptionDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CloudWatchLoggingOptionDescription.Builder,CloudWatchLoggingOptionDescription>
public static CloudWatchLoggingOptionDescription.Builder builder()
public static Class<? extends CloudWatchLoggingOptionDescription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.