@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) |
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.
|
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)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.