Class DeliveryStreamEncryptionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.DeliveryStreamEncryptionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeliveryStreamEncryptionConfiguration.Builder,DeliveryStreamEncryptionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DeliveryStreamEncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeliveryStreamEncryptionConfiguration.Builder,DeliveryStreamEncryptionConfiguration>
Contains information about the server-side encryption (SSE) status for the delivery stream, the type customer master key (CMK) in use, if any, and the ARN of the CMK. You can get
DeliveryStreamEncryptionConfigurationby invoking the DescribeDeliveryStream operation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeliveryStreamEncryptionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryStreamEncryptionConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FailureDescriptionfailureDescription()Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyARN()IfKeyTypeisCUSTOMER_MANAGED_CMK, this field contains the ARN of the customer managed CMK.KeyTypekeyType()Indicates the type of customer master key (CMK) that is used for encryption.StringkeyTypeAsString()Indicates the type of customer master key (CMK) that is used for encryption.List<SdkField<?>>sdkFields()static Class<? extends DeliveryStreamEncryptionConfiguration.Builder>serializableBuilderClass()DeliveryStreamEncryptionStatusstatus()This is the server-side encryption (SSE) status for the delivery stream.StringstatusAsString()This is the server-side encryption (SSE) status for the delivery stream.DeliveryStreamEncryptionConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
keyARN
public final String keyARN()
If
KeyTypeisCUSTOMER_MANAGED_CMK, this field contains the ARN of the customer managed CMK. IfKeyTypeisAmazon Web Services_OWNED_CMK,DeliveryStreamEncryptionConfigurationdoesn't contain a value forKeyARN.- Returns:
- If
KeyTypeisCUSTOMER_MANAGED_CMK, this field contains the ARN of the customer managed CMK. IfKeyTypeisAmazon Web Services_OWNED_CMK,DeliveryStreamEncryptionConfigurationdoesn't contain a value forKeyARN.
-
keyType
public final KeyType keyType()
Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master Keys (CMKs).If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master Keys (CMKs). - See Also:
KeyType
-
keyTypeAsString
public final String keyTypeAsString()
Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master Keys (CMKs).If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master Keys (CMKs). - See Also:
KeyType
-
status
public final DeliveryStreamEncryptionStatus status()
This is the server-side encryption (SSE) status for the delivery stream. For a full description of the different values of this status, see StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If this status is
ENABLING_FAILEDorDISABLING_FAILED, it is the status of the most recent attempt to enable or disable SSE, respectively.If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeliveryStreamEncryptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- This is the server-side encryption (SSE) status for the delivery stream. For a full description of the
different values of this status, see StartDeliveryStreamEncryption and
StopDeliveryStreamEncryption. If this status is
ENABLING_FAILEDorDISABLING_FAILED, it is the status of the most recent attempt to enable or disable SSE, respectively. - See Also:
DeliveryStreamEncryptionStatus
-
statusAsString
public final String statusAsString()
This is the server-side encryption (SSE) status for the delivery stream. For a full description of the different values of this status, see StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If this status is
ENABLING_FAILEDorDISABLING_FAILED, it is the status of the most recent attempt to enable or disable SSE, respectively.If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeliveryStreamEncryptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- This is the server-side encryption (SSE) status for the delivery stream. For a full description of the
different values of this status, see StartDeliveryStreamEncryption and
StopDeliveryStreamEncryption. If this status is
ENABLING_FAILEDorDISABLING_FAILED, it is the status of the most recent attempt to enable or disable SSE, respectively. - See Also:
DeliveryStreamEncryptionStatus
-
failureDescription
public final FailureDescription failureDescription()
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
- Returns:
- Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
-
toBuilder
public DeliveryStreamEncryptionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeliveryStreamEncryptionConfiguration.Builder,DeliveryStreamEncryptionConfiguration>
-
builder
public static DeliveryStreamEncryptionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeliveryStreamEncryptionConfiguration.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.
-
-