Class KeyReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.paymentcryptography.KeyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyReference>
- Enclosing interface:
KeyReference
@Stability(Stable)
public static final class KeyReference.Builder
extends Object
implements software.amazon.jsii.Builder<KeyReference>
A builder for
KeyReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.keyIdentifier(String keyIdentifier) Sets the value ofKeyReference.getKeyIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyIdentifier
Sets the value ofKeyReference.getKeyIdentifier()- Parameters:
keyIdentifier- The KeyIdentifier of the Key resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeyReference>- Returns:
- a new instance of
KeyReference - Throws:
NullPointerException- if any required attribute was not provided
-