Class DeliveryStreamEncryptionConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FailureDescriptionProvides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkeyARN()IfKeyTypeisCUSTOMER_MANAGED_CMK, this field contains the ARN of the customer managed CMK.final KeyTypekeyType()Indicates the type of customer master key (CMK) that is used for encryption.final StringIndicates the type of customer master key (CMK) that is used for encryption.static Class<? extends DeliveryStreamEncryptionConfiguration.Builder> status()This is the server-side encryption (SSE) status for the Firehose stream.final StringThis is the server-side encryption (SSE) status for the Firehose stream.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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:
-
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:
-
status
This is the server-side encryption (SSE) status for the Firehose 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 Firehose 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:
-
statusAsString
This is the server-side encryption (SSE) status for the Firehose 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 Firehose 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:
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DeliveryStreamEncryptionConfiguration.Builder,DeliveryStreamEncryptionConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends DeliveryStreamEncryptionConfiguration.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-