Interface GetKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetKeyResponse.Builder,,GetKeyResponse> PaymentCryptographyResponse.Builder,SdkBuilder<GetKeyResponse.Builder,,GetKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetKeyResponse
@Mutable
@NotThreadSafe
public static interface GetKeyResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<GetKeyResponse.Builder,GetKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetKeyResponse.Builderkey(Consumer<Key.Builder> key) Contains the key metadata, including both immutable and mutable attributes for the key, but does not include actual cryptographic key material.Contains the key metadata, including both immutable and mutable attributes for the key, but does not include actual cryptographic key material.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
key
Contains the key metadata, including both immutable and mutable attributes for the key, but does not include actual cryptographic key material.
- Parameters:
key- Contains the key metadata, including both immutable and mutable attributes for the key, but does not include actual cryptographic key material.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
Contains the key metadata, including both immutable and mutable attributes for the key, but does not include actual cryptographic key material.
This is a convenience method that creates an instance of theKey.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 onKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-