@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLoggingOption extends Object implements Serializable, Cloneable, StructuredPojo
Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.
Constructor and Description |
---|
CloudWatchLoggingOption() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLoggingOption |
clone() |
boolean |
equals(Object obj) |
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) |
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.
|
CloudWatchLoggingOption |
withLogStreamARN(String logStreamARN)
ARN of the CloudWatch log to receive application messages.
|
CloudWatchLoggingOption |
withRoleARN(String roleARN)
IAM ARN of the role to use to send application messages.
|
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 CloudWatchLoggingOption 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 that is 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 that is 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 that is used must have the PutLogEvents
policy action enabled.
PutLogEvents
policy action enabled.public CloudWatchLoggingOption withRoleARN(String roleARN)
IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the
IAM role that is 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 that is used must have the PutLogEvents
policy action enabled.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLoggingOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.