Class GameProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.GameProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GameProperty>
- Enclosing interface:
GameProperty
@Stability(Experimental)
public static final class GameProperty.Builder
extends Object
implements software.amazon.jsii.Builder<GameProperty>
A builder for
GameProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofGameProperty.getKey()
Sets the value ofGameProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofGameProperty.getKey()
- Parameters:
key
- The game property identifier. This parameter is required.- Returns:
this
-
value
Sets the value ofGameProperty.getValue()
- Parameters:
value
- The game property value. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GameProperty>
- Returns:
- a new instance of
GameProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-