Class CfnGameServerGroup.TargetTrackingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnGameServerGroup.TargetTrackingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGameServerGroup.TargetTrackingConfigurationProperty>
- Enclosing interface:
CfnGameServerGroup.TargetTrackingConfigurationProperty
@Stability(Stable)
public static final class CfnGameServerGroup.TargetTrackingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGameServerGroup.TargetTrackingConfigurationProperty>
A builder for
CfnGameServerGroup.TargetTrackingConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.targetValue
(Number targetValue) Sets the value ofCfnGameServerGroup.TargetTrackingConfigurationProperty.getTargetValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetValue
@Stability(Stable) public CfnGameServerGroup.TargetTrackingConfigurationProperty.Builder targetValue(Number targetValue) Sets the value ofCfnGameServerGroup.TargetTrackingConfigurationProperty.getTargetValue()
- Parameters:
targetValue
- Desired value to use with a game server group target-based scaling policy. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGameServerGroup.TargetTrackingConfigurationProperty>
- Returns:
- a new instance of
CfnGameServerGroup.TargetTrackingConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-