@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchEncryption extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how Amazon CloudWatch data should be encrypted.
| Constructor and Description |
|---|
CloudWatchEncryption() |
| Modifier and Type | Method and Description |
|---|---|
CloudWatchEncryption |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchEncryptionMode()
The encryption mode to use for CloudWatch data.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCloudWatchEncryptionMode(String cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchEncryption |
withCloudWatchEncryptionMode(CloudWatchEncryptionMode cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
|
CloudWatchEncryption |
withCloudWatchEncryptionMode(String cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
|
CloudWatchEncryption |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
|
public void setCloudWatchEncryptionMode(String cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
cloudWatchEncryptionMode - The encryption mode to use for CloudWatch data.CloudWatchEncryptionModepublic String getCloudWatchEncryptionMode()
The encryption mode to use for CloudWatch data.
CloudWatchEncryptionModepublic CloudWatchEncryption withCloudWatchEncryptionMode(String cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
cloudWatchEncryptionMode - The encryption mode to use for CloudWatch data.CloudWatchEncryptionModepublic CloudWatchEncryption withCloudWatchEncryptionMode(CloudWatchEncryptionMode cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
cloudWatchEncryptionMode - The encryption mode to use for CloudWatch data.CloudWatchEncryptionModepublic void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
kmsKeyArn - The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
public CloudWatchEncryption withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
kmsKeyArn - The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.public String toString()
toString in class ObjectObject.toString()public CloudWatchEncryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.