Class CfnMatchmakingConfiguration.GamePropertyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnMatchmakingConfiguration.GamePropertyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMatchmakingConfiguration.GamePropertyProperty>
- Enclosing interface:
CfnMatchmakingConfiguration.GamePropertyProperty
@Stability(Stable)
public static final class CfnMatchmakingConfiguration.GamePropertyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMatchmakingConfiguration.GamePropertyProperty>
A builder for
CfnMatchmakingConfiguration.GamePropertyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMatchmakingConfiguration.GamePropertyProperty.getKey()
Sets the value ofCfnMatchmakingConfiguration.GamePropertyProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnMatchmakingConfiguration.GamePropertyProperty.getKey()
- Parameters:
key
- The game property identifier. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnMatchmakingConfiguration.GamePropertyProperty.Builder value(String value) Sets the value ofCfnMatchmakingConfiguration.GamePropertyProperty.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<CfnMatchmakingConfiguration.GamePropertyProperty>
- Returns:
- a new instance of
CfnMatchmakingConfiguration.GamePropertyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-