Class EncryptionOptions
- java.lang.Object
-
- software.amazon.awssdk.services.mq.model.EncryptionOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionOptions.Builder,EncryptionOptions>
@Generated("software.amazon.awssdk:codegen") public final class EncryptionOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionOptions.Builder,EncryptionOptions>
Encryption options for the broker.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The customer master key (CMK) to use for the A KMS (KMS).List<SdkField<?>>sdkFields()static Class<? extends EncryptionOptions.Builder>serializableBuilderClass()EncryptionOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanuseAwsOwnedKey()Enables the use of an Amazon Web Services owned CMK using KMS (KMS).-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
kmsKeyId
public final String kmsKeyId()
The customer master key (CMK) to use for the A KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
- Returns:
- The customer master key (CMK) to use for the A KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
-
useAwsOwnedKey
public final Boolean useAwsOwnedKey()
Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
- Returns:
- Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
-
toBuilder
public EncryptionOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionOptions.Builder,EncryptionOptions>
-
builder
public static EncryptionOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-