Interface DeliveryStreamEncryptionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeliveryStreamEncryptionConfiguration.Builder,DeliveryStreamEncryptionConfiguration>,SdkBuilder<DeliveryStreamEncryptionConfiguration.Builder,DeliveryStreamEncryptionConfiguration>,SdkPojo
- Enclosing class:
- DeliveryStreamEncryptionConfiguration
public static interface DeliveryStreamEncryptionConfiguration.Builder extends SdkPojo, CopyableBuilder<DeliveryStreamEncryptionConfiguration.Builder,DeliveryStreamEncryptionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeliveryStreamEncryptionConfiguration.BuilderfailureDescription(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.DeliveryStreamEncryptionConfiguration.BuilderfailureDescription(FailureDescription failureDescription)Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.DeliveryStreamEncryptionConfiguration.BuilderkeyARN(String keyARN)IfKeyTypeisCUSTOMER_MANAGED_CMK, this field contains the ARN of the customer managed CMK.DeliveryStreamEncryptionConfiguration.BuilderkeyType(String keyType)Indicates the type of customer master key (CMK) that is used for encryption.DeliveryStreamEncryptionConfiguration.BuilderkeyType(KeyType keyType)Indicates the type of customer master key (CMK) that is used for encryption.DeliveryStreamEncryptionConfiguration.Builderstatus(String status)This is the server-side encryption (SSE) status for the delivery stream.DeliveryStreamEncryptionConfiguration.Builderstatus(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 Detail
-
keyARN
DeliveryStreamEncryptionConfiguration.Builder keyARN(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.- Parameters:
keyARN- IfKeyTypeisCUSTOMER_MANAGED_CMK, this field contains the ARN of the customer managed CMK. IfKeyTypeisAmazon Web Services_OWNED_CMK,DeliveryStreamEncryptionConfigurationdoesn't contain a value forKeyARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyType
DeliveryStreamEncryptionConfiguration.Builder keyType(String 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,KeyType
-
keyType
DeliveryStreamEncryptionConfiguration.Builder keyType(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).- 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,KeyType
-
status
DeliveryStreamEncryptionConfiguration.Builder status(String 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.- 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_FAILEDorDISABLING_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:
DeliveryStreamEncryptionStatus,DeliveryStreamEncryptionStatus
-
status
DeliveryStreamEncryptionConfiguration.Builder status(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.- 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_FAILEDorDISABLING_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:
DeliveryStreamEncryptionStatus,DeliveryStreamEncryptionStatus
-
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.Builderavoiding the need to create one manually viaFailureDescription.builder().When the
Consumercompletes,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:
failureDescription(FailureDescription)
-
-