@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.CloudWatchEncryptionMode
public String getCloudWatchEncryptionMode()
The encryption mode to use for CloudWatch data.
CloudWatchEncryptionMode
public CloudWatchEncryption withCloudWatchEncryptionMode(String cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
cloudWatchEncryptionMode
- The encryption mode to use for CloudWatch data.CloudWatchEncryptionMode
public CloudWatchEncryption withCloudWatchEncryptionMode(CloudWatchEncryptionMode cloudWatchEncryptionMode)
The encryption mode to use for CloudWatch data.
cloudWatchEncryptionMode
- The encryption mode to use for CloudWatch data.CloudWatchEncryptionMode
public 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 Object
Object.toString()
public CloudWatchEncryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.