Interface GetKmsEncryptionKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetKmsEncryptionKeyResponse.Builder,,GetKmsEncryptionKeyResponse> FraudDetectorResponse.Builder,SdkBuilder<GetKmsEncryptionKeyResponse.Builder,,GetKmsEncryptionKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetKmsEncryptionKeyResponse
public static interface GetKmsEncryptionKeyResponse.Builder
extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<GetKmsEncryptionKeyResponse.Builder,GetKmsEncryptionKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionkmsKey(Consumer<KMSKey.Builder> kmsKey) The KMS encryption key.The KMS encryption key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
kmsKey
The KMS encryption key.
- Parameters:
kmsKey- The KMS encryption key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKey
The KMS encryption key.
This is a convenience method that creates an instance of theKMSKey.Builderavoiding the need to create one manually viaKMSKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokmsKey(KMSKey).- Parameters:
kmsKey- a consumer that will call methods onKMSKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-