@Generated(value="software.amazon.awssdk:codegen") public final class CloudWatchLoggingOptionUpdate extends Object implements StructuredPojo, ToCopyableBuilder<CloudWatchLoggingOptionUpdate.Builder,CloudWatchLoggingOptionUpdate>
Describes CloudWatch logging option updates.
Modifier and Type | Class and Description |
---|---|
static interface |
CloudWatchLoggingOptionUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
static CloudWatchLoggingOptionUpdate.Builder |
builder() |
String |
cloudWatchLoggingOptionId()
ID of the CloudWatch logging option to update
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logStreamARNUpdate()
ARN of the CloudWatch log to receive application messages.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleARNUpdate()
IAM ARN of the role to use to send application messages.
|
static Class<? extends CloudWatchLoggingOptionUpdate.Builder> |
serializableBuilderClass() |
CloudWatchLoggingOptionUpdate.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 to update
public String logStreamARNUpdate()
ARN of the CloudWatch log to receive application messages.
public String roleARNUpdate()
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 CloudWatchLoggingOptionUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CloudWatchLoggingOptionUpdate.Builder,CloudWatchLoggingOptionUpdate>
public static CloudWatchLoggingOptionUpdate.Builder builder()
public static Class<? extends CloudWatchLoggingOptionUpdate.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.