StructuredPojo
, ToCopyableBuilder<CloudWatchLoggingOptionDescription.Builder,CloudWatchLoggingOptionDescription>
@Generated("software.amazon.awssdk:codegen") public class CloudWatchLoggingOptionDescription extends Object implements StructuredPojo, ToCopyableBuilder<CloudWatchLoggingOptionDescription.Builder,CloudWatchLoggingOptionDescription>
Description of the CloudWatch logging option.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CloudWatchLoggingOptionDescription.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CloudWatchLoggingOptionDescription.Builder |
builder() |
|
String |
cloudWatchLoggingOptionId() |
ID of the CloudWatch logging option description.
|
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 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() |
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()
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.