Package software.amazon.awscdk.cxapi
Class KeyContextResponse.Builder
java.lang.Object
software.amazon.awscdk.cxapi.KeyContextResponse.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyContextResponse>
- Enclosing interface:
KeyContextResponse
@Stability(Stable)
public static final class KeyContextResponse.Builder
extends Object
implements software.amazon.jsii.Builder<KeyContextResponse>
A builder for
KeyContextResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofKeyContextResponse.getKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyId
Sets the value ofKeyContextResponse.getKeyId()
- Parameters:
keyId
- Id of the key. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KeyContextResponse>
- Returns:
- a new instance of
KeyContextResponse
- Throws:
NullPointerException
- if any required attribute was not provided
-