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
DeliveryStreamEncryptionConfiguration
by invoking the DescribeDeliveryStream operation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DeliveryStreamEncryptionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryStreamEncryptionConfiguration.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
FailureDescription
failureDescription()
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)
int
hashCode()
String
keyARN()
IfKeyType
isCUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer managed CMK.KeyType
keyType()
Indicates the type of customer master key (CMK) that is used for encryption.String
keyTypeAsString()
Indicates the type of customer master key (CMK) that is used for encryption.List<SdkField<?>>
sdkFields()
static Class<? extends DeliveryStreamEncryptionConfiguration.Builder>
serializableBuilderClass()
DeliveryStreamEncryptionStatus
status()
This is the server-side encryption (SSE) status for the delivery stream.String
statusAsString()
This is the server-side encryption (SSE) status for the delivery stream.DeliveryStreamEncryptionConfiguration.Builder
toBuilder()
String
toString()
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
KeyType
isCUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer managed CMK. IfKeyType
isAmazon Web Services_OWNED_CMK
,DeliveryStreamEncryptionConfiguration
doesn't contain a value forKeyARN
.- Returns:
- If
KeyType
isCUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer managed CMK. IfKeyType
isAmazon Web Services_OWNED_CMK
,DeliveryStreamEncryptionConfiguration
doesn'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,
keyType
will 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,
keyType
will 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_FAILED
orDISABLING_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,
status
will 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_FAILED
orDISABLING_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_FAILED
orDISABLING_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,
status
will 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_FAILED
orDISABLING_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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-