@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLoggingOptionDescription extends Object implements Serializable, Cloneable, StructuredPojo
Description of the CloudWatch logging option.
Constructor and Description |
---|
CloudWatchLoggingOptionDescription() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLoggingOptionDescription |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLoggingOptionId()
ID of the CloudWatch logging option description.
|
String |
getLogStreamARN()
ARN of the CloudWatch log to receive application messages.
|
String |
getRoleARN()
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 description.
|
void |
setLogStreamARN(String logStreamARN)
ARN of the CloudWatch log to receive application messages.
|
void |
setRoleARN(String roleARN)
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.
|
CloudWatchLoggingOptionDescription |
withCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
ID of the CloudWatch logging option description.
|
CloudWatchLoggingOptionDescription |
withLogStreamARN(String logStreamARN)
ARN of the CloudWatch log to receive application messages.
|
CloudWatchLoggingOptionDescription |
withRoleARN(String roleARN)
IAM ARN of the role to use to send application messages.
|
public void setCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
ID of the CloudWatch logging option description.
cloudWatchLoggingOptionId
- ID of the CloudWatch logging option description.public String getCloudWatchLoggingOptionId()
ID of the CloudWatch logging option description.
public CloudWatchLoggingOptionDescription withCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
ID of the CloudWatch logging option description.
cloudWatchLoggingOptionId
- ID of the CloudWatch logging option description.public void setLogStreamARN(String logStreamARN)
ARN of the CloudWatch log to receive application messages.
logStreamARN
- ARN of the CloudWatch log to receive application messages.public String getLogStreamARN()
ARN of the CloudWatch log to receive application messages.
public CloudWatchLoggingOptionDescription withLogStreamARN(String logStreamARN)
ARN of the CloudWatch log to receive application messages.
logStreamARN
- ARN of the CloudWatch log to receive application messages.public void setRoleARN(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.
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.public String getRoleARN()
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 withRoleARN(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.
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.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLoggingOptionDescription 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.