Interface ReEncryptionAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReEncryptionAttributes.Builder,,ReEncryptionAttributes> SdkBuilder<ReEncryptionAttributes.Builder,,ReEncryptionAttributes> SdkPojo
- Enclosing class:
ReEncryptionAttributes
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReEncryptionAttributes.Builderasymmetric(Consumer<AsymmetricEncryptionAttributes.Builder> asymmetric) Specifies the parameters required to encrypt data using an asymmetric key pair.asymmetric(AsymmetricEncryptionAttributes asymmetric) Specifies the parameters required to encrypt data using an asymmetric key pair.default ReEncryptionAttributes.BuilderSpecifies the parameters required to encrypt data using DUKPT.dukpt(DukptEncryptionAttributes dukpt) Specifies the parameters required to encrypt data using DUKPT.default ReEncryptionAttributes.Buildersymmetric(Consumer<SymmetricEncryptionAttributes.Builder> symmetric) Specifies the parameters required to encrypt data using symmetric keys.symmetric(SymmetricEncryptionAttributes symmetric) Specifies the parameters required to encrypt data using symmetric keys.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
symmetric
Specifies the parameters required to encrypt data using symmetric keys.
- Parameters:
symmetric- Specifies the parameters required to encrypt data using symmetric keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
symmetric
default ReEncryptionAttributes.Builder symmetric(Consumer<SymmetricEncryptionAttributes.Builder> symmetric) Specifies the parameters required to encrypt data using symmetric keys.
This is a convenience method that creates an instance of theSymmetricEncryptionAttributes.Builderavoiding the need to create one manually viaSymmetricEncryptionAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosymmetric(SymmetricEncryptionAttributes).- Parameters:
symmetric- a consumer that will call methods onSymmetricEncryptionAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
asymmetric
Specifies the parameters required to encrypt data using an asymmetric key pair. You must specify a
PaddingType.- Parameters:
asymmetric- Specifies the parameters required to encrypt data using an asymmetric key pair. You must specify aPaddingType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asymmetric
default ReEncryptionAttributes.Builder asymmetric(Consumer<AsymmetricEncryptionAttributes.Builder> asymmetric) Specifies the parameters required to encrypt data using an asymmetric key pair. You must specify a
This is a convenience method that creates an instance of thePaddingType.AsymmetricEncryptionAttributes.Builderavoiding the need to create one manually viaAsymmetricEncryptionAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toasymmetric(AsymmetricEncryptionAttributes).- Parameters:
asymmetric- a consumer that will call methods onAsymmetricEncryptionAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dukpt
Specifies the parameters required to encrypt data using DUKPT.
- Parameters:
dukpt- Specifies the parameters required to encrypt data using DUKPT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dukpt
Specifies the parameters required to encrypt data using DUKPT.
This is a convenience method that creates an instance of theDukptEncryptionAttributes.Builderavoiding the need to create one manually viaDukptEncryptionAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todukpt(DukptEncryptionAttributes).- Parameters:
dukpt- a consumer that will call methods onDukptEncryptionAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-