@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLoggingOptionDescription extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Amazon CloudWatch logging option.
Constructor and Description |
---|
CloudWatchLoggingOptionDescription() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLoggingOptionDescription |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLoggingOptionId()
The ID of the CloudWatch logging option description.
|
String |
getLogStreamARN()
The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.
|
String |
getRoleARN()
The 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)
The ID of the CloudWatch logging option description.
|
void |
setLogStreamARN(String logStreamARN)
The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.
|
void |
setRoleARN(String roleARN)
The IAM ARN of the role to use to send application messages.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchLoggingOptionDescription |
withCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
The ID of the CloudWatch logging option description.
|
CloudWatchLoggingOptionDescription |
withLogStreamARN(String logStreamARN)
The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.
|
CloudWatchLoggingOptionDescription |
withRoleARN(String roleARN)
The IAM ARN of the role to use to send application messages.
|
public void setCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
The ID of the CloudWatch logging option description.
cloudWatchLoggingOptionId
- The ID of the CloudWatch logging option description.public String getCloudWatchLoggingOptionId()
The ID of the CloudWatch logging option description.
public CloudWatchLoggingOptionDescription withCloudWatchLoggingOptionId(String cloudWatchLoggingOptionId)
The ID of the CloudWatch logging option description.
cloudWatchLoggingOptionId
- The ID of the CloudWatch logging option description.public void setLogStreamARN(String logStreamARN)
The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.
logStreamARN
- The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.public String getLogStreamARN()
The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.
public CloudWatchLoggingOptionDescription withLogStreamARN(String logStreamARN)
The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.
logStreamARN
- The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.public void setRoleARN(String roleARN)
The IAM ARN of the role to use to send application messages.
Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.
roleARN
- The IAM ARN of the role to use to send application messages. Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.
public String getRoleARN()
The IAM ARN of the role to use to send application messages.
Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.
Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.
public CloudWatchLoggingOptionDescription withRoleARN(String roleARN)
The IAM ARN of the role to use to send application messages.
Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.
roleARN
- The IAM ARN of the role to use to send application messages. Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.
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.