@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLoggingOptionUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Describes CloudWatch logging option updates.
Constructor and Description |
---|
CloudWatchLoggingOptionUpdate() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLoggingOptionUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLoggingOptionId()
ID of the CloudWatch logging option to update
|
String |
getLogStreamARNUpdate()
ARN of the CloudWatch log to receive application messages.
|
String |
getRoleARNUpdate()
IAM ARN of the role to use to send application messages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
ID of the CloudWatch logging option to update
|
void |
setLogStreamARNUpdate(String logStreamARNUpdate)
ARN of the CloudWatch log to receive application messages.
|
void |
setRoleARNUpdate(String roleARNUpdate)
IAM ARN of the role to use to send application messages.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CloudWatchLoggingOptionUpdate |
withCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
ID of the CloudWatch logging option to update
|
CloudWatchLoggingOptionUpdate |
withLogStreamARNUpdate(String logStreamARNUpdate)
ARN of the CloudWatch log to receive application messages.
|
CloudWatchLoggingOptionUpdate |
withRoleARNUpdate(String roleARNUpdate)
IAM ARN of the role to use to send application messages.
|
public void setCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
ID of the CloudWatch logging option to update
cloudWatchLoggingOptionId
- ID of the CloudWatch logging option to updatepublic String getCloudWatchLoggingOptionId()
ID of the CloudWatch logging option to update
public CloudWatchLoggingOptionUpdate withCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
ID of the CloudWatch logging option to update
cloudWatchLoggingOptionId
- ID of the CloudWatch logging option to updatepublic void setLogStreamARNUpdate(String logStreamARNUpdate)
ARN of the CloudWatch log to receive application messages.
logStreamARNUpdate
- ARN of the CloudWatch log to receive application messages.public String getLogStreamARNUpdate()
ARN of the CloudWatch log to receive application messages.
public CloudWatchLoggingOptionUpdate withLogStreamARNUpdate(String logStreamARNUpdate)
ARN of the CloudWatch log to receive application messages.
logStreamARNUpdate
- ARN of the CloudWatch log to receive application messages.public void setRoleARNUpdate(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.
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.public String getRoleARNUpdate()
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 withRoleARNUpdate(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.
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.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLoggingOptionUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.