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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetKmsEncryptionKeyResponse.BuilderkmsKey(Consumer<KMSKey.Builder> kmsKey)The KMS encryption key.GetKmsEncryptionKeyResponse.BuilderkmsKey(KMSKey kmsKey)The KMS encryption key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.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
-
kmsKey
GetKmsEncryptionKeyResponse.Builder kmsKey(KMSKey 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
default GetKmsEncryptionKeyResponse.Builder kmsKey(Consumer<KMSKey.Builder> 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:
kmsKey(KMSKey)
-
-