Interface ExportKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ExportKeyRequest.Builder,,ExportKeyRequest> PaymentCryptographyRequest.Builder,SdkBuilder<ExportKeyRequest.Builder,,ExportKeyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ExportKeyRequest
public static interface ExportKeyRequest.Builder
extends PaymentCryptographyRequest.Builder, SdkPojo, CopyableBuilder<ExportKeyRequest.Builder,ExportKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportKeyRequest.BuilderexportAttributes(Consumer<ExportAttributes.Builder> exportAttributes) The attributes for IPEK generation during export.exportAttributes(ExportAttributes exportAttributes) The attributes for IPEK generation during export.exportKeyIdentifier(String exportKeyIdentifier) TheKeyARNof the key under export from Amazon Web Services Payment Cryptography.default ExportKeyRequest.BuilderkeyMaterial(Consumer<ExportKeyMaterial.Builder> keyMaterial) The key block format type, for example, TR-34 or TR-31, to use during key material export.keyMaterial(ExportKeyMaterial keyMaterial) The key block format type, for example, TR-34 or TR-31, to use during key material export.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
keyMaterial
The key block format type, for example, TR-34 or TR-31, to use during key material export.
- Parameters:
keyMaterial- The key block format type, for example, TR-34 or TR-31, to use during key material export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyMaterial
The key block format type, for example, TR-34 or TR-31, to use during key material export.
This is a convenience method that creates an instance of theExportKeyMaterial.Builderavoiding the need to create one manually viaExportKeyMaterial.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyMaterial(ExportKeyMaterial).- Parameters:
keyMaterial- a consumer that will call methods onExportKeyMaterial.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportKeyIdentifier
The
KeyARNof the key under export from Amazon Web Services Payment Cryptography.- Parameters:
exportKeyIdentifier- TheKeyARNof the key under export from Amazon Web Services Payment Cryptography.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportAttributes
The attributes for IPEK generation during export.
- Parameters:
exportAttributes- The attributes for IPEK generation during export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportAttributes
default ExportKeyRequest.Builder exportAttributes(Consumer<ExportAttributes.Builder> exportAttributes) The attributes for IPEK generation during export.
This is a convenience method that creates an instance of theExportAttributes.Builderavoiding the need to create one manually viaExportAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexportAttributes(ExportAttributes).- Parameters:
exportAttributes- a consumer that will call methods onExportAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ExportKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExportKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-