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