Interface ExportKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExportKeyRequest.Builder,
,ExportKeyRequest> PaymentCryptographyRequest.Builder
,SdkBuilder<ExportKeyRequest.Builder,
,ExportKeyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExportKeyRequest
@Mutable
@NotThreadSafe
public static interface ExportKeyRequest.Builder
extends PaymentCryptographyRequest.Builder, SdkPojo, CopyableBuilder<ExportKeyRequest.Builder,ExportKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportKeyRequest.Builder
exportAttributes
(Consumer<ExportAttributes.Builder> exportAttributes) The attributes for IPEK generation during export.exportAttributes
(ExportAttributes exportAttributes) The attributes for IPEK generation during export.exportKeyIdentifier
(String exportKeyIdentifier) TheKeyARN
of the key under export from Amazon Web Services Payment Cryptography.default ExportKeyRequest.Builder
keyMaterial
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaExportKeyMaterial.builder()
.When the
Consumer
completes,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
KeyARN
of the key under export from Amazon Web Services Payment Cryptography.- Parameters:
exportKeyIdentifier
- TheKeyARN
of 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.Builder
avoiding the need to create one manually viaExportAttributes.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-