Interface StartKeyUsageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartKeyUsageResponse.Builder,StartKeyUsageResponse>,PaymentCryptographyResponse.Builder,SdkBuilder<StartKeyUsageResponse.Builder,StartKeyUsageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartKeyUsageResponse
public static interface StartKeyUsageResponse.Builder extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<StartKeyUsageResponse.Builder,StartKeyUsageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StartKeyUsageResponse.Builderkey(Consumer<Key.Builder> key)TheKeyARNof the Amazon Web Services Payment Cryptography key activated for use.StartKeyUsageResponse.Builderkey(Key key)TheKeyARNof the Amazon Web Services Payment Cryptography key activated for use.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
key
StartKeyUsageResponse.Builder key(Key key)
The
KeyARNof the Amazon Web Services Payment Cryptography key activated for use.- Parameters:
key- TheKeyARNof the Amazon Web Services Payment Cryptography key activated for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
default StartKeyUsageResponse.Builder key(Consumer<Key.Builder> key)
The
This is a convenience method that creates an instance of theKeyARNof the Amazon Web Services Payment Cryptography key activated for use.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 onKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
key(Key)
-
-