@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAmazonMqBrokerEncryptionOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about broker encryption options.
Constructor and Description |
---|
AwsAmazonMqBrokerEncryptionOptionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAmazonMqBrokerEncryptionOptionsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyId()
The KMS key that’s used to encrypt your data at rest.
|
Boolean |
getUseAwsOwnedKey()
Specifies that an KMS key should be used for at-rest encryption.
|
int |
hashCode() |
Boolean |
isUseAwsOwnedKey()
Specifies that an KMS key should be used for at-rest encryption.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyId(String kmsKeyId)
The KMS key that’s used to encrypt your data at rest.
|
void |
setUseAwsOwnedKey(Boolean useAwsOwnedKey)
Specifies that an KMS key should be used for at-rest encryption.
|
String |
toString()
Returns a string representation of this object.
|
AwsAmazonMqBrokerEncryptionOptionsDetails |
withKmsKeyId(String kmsKeyId)
The KMS key that’s used to encrypt your data at rest.
|
AwsAmazonMqBrokerEncryptionOptionsDetails |
withUseAwsOwnedKey(Boolean useAwsOwnedKey)
Specifies that an KMS key should be used for at-rest encryption.
|
public AwsAmazonMqBrokerEncryptionOptionsDetails()
public void setKmsKeyId(String kmsKeyId)
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
kmsKeyId
- The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS
key to encrypt your data.public String getKmsKeyId()
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
public AwsAmazonMqBrokerEncryptionOptionsDetails withKmsKeyId(String kmsKeyId)
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
kmsKeyId
- The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS
key to encrypt your data.public void setUseAwsOwnedKey(Boolean useAwsOwnedKey)
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value
is provided (for example, for RabbitMQ brokers).
useAwsOwnedKey
- Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no
value is provided (for example, for RabbitMQ brokers).public Boolean getUseAwsOwnedKey()
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value
is provided (for example, for RabbitMQ brokers).
true
by default if
no value is provided (for example, for RabbitMQ brokers).public AwsAmazonMqBrokerEncryptionOptionsDetails withUseAwsOwnedKey(Boolean useAwsOwnedKey)
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value
is provided (for example, for RabbitMQ brokers).
useAwsOwnedKey
- Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no
value is provided (for example, for RabbitMQ brokers).public Boolean isUseAwsOwnedKey()
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value
is provided (for example, for RabbitMQ brokers).
true
by default if
no value is provided (for example, for RabbitMQ brokers).public String toString()
toString
in class Object
Object.toString()
public AwsAmazonMqBrokerEncryptionOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.