Interface DeliveryStreamEncryptionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeliveryStreamEncryptionConfiguration.Builder,
,DeliveryStreamEncryptionConfiguration> SdkBuilder<DeliveryStreamEncryptionConfiguration.Builder,
,DeliveryStreamEncryptionConfiguration> SdkPojo
- Enclosing class:
DeliveryStreamEncryptionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionfailureDescription
(Consumer<FailureDescription.Builder> failureDescription) Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.failureDescription
(FailureDescription failureDescription) Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.IfKeyType
isCUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer managed CMK.Indicates the type of customer master key (CMK) that is used for encryption.Indicates the type of customer master key (CMK) that is used for encryption.This is the server-side encryption (SSE) status for the delivery stream.status
(DeliveryStreamEncryptionStatus status) This is the server-side encryption (SSE) status for the delivery stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
.- Parameters:
keyARN
- IfKeyType
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:
- Returns a reference to this object so that method calls can be chained together.
-
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).- Parameters:
keyType
- Indicates the type of customer master key (CMK) that is used for encryption. The default setting isAmazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master Keys (CMKs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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).- Parameters:
keyType
- Indicates the type of customer master key (CMK) that is used for encryption. The default setting isAmazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master Keys (CMKs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 isENABLING_FAILED
orDISABLING_FAILED
, it is the status of the most recent attempt to enable or disable SSE, respectively.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 isENABLING_FAILED
orDISABLING_FAILED
, it is the status of the most recent attempt to enable or disable SSE, respectively.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureDescription
DeliveryStreamEncryptionConfiguration.Builder failureDescription(FailureDescription failureDescription) Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
- Parameters:
failureDescription
- Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureDescription
default DeliveryStreamEncryptionConfiguration.Builder failureDescription(Consumer<FailureDescription.Builder> failureDescription) Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
This is a convenience method that creates an instance of theFailureDescription.Builder
avoiding the need to create one manually viaFailureDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureDescription(FailureDescription)
.- Parameters:
failureDescription
- a consumer that will call methods onFailureDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-