Interface ImportKeyResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ImportKeyResponse.Builder,,- ImportKeyResponse> - PaymentCryptographyResponse.Builder,- SdkBuilder<ImportKeyResponse.Builder,,- ImportKeyResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ImportKeyResponse
@Mutable
@NotThreadSafe
public static interface ImportKeyResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<ImportKeyResponse.Builder,ImportKeyResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault ImportKeyResponse.Builderkey(Consumer<Key.Builder> key) TheKeyARNof the key material imported within Amazon Web Services Payment Cryptography.TheKeyARNof the key material imported within Amazon Web Services Payment Cryptography.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
keyThe KeyARNof the key material imported within Amazon Web Services Payment Cryptography.- Parameters:
- key- The- KeyARNof the key material imported within Amazon Web Services Payment Cryptography.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
keyThe This is a convenience method that creates an instance of theKeyARNof the key material imported within Amazon Web Services Payment Cryptography.Key.Builderavoiding the need to create one manually viaKey.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokey(Key).- Parameters:
- key- a consumer that will call methods on- Key.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-