Class CfnFleet.AnywhereConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnFleet.AnywhereConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.AnywhereConfigurationProperty>
- Enclosing interface:
CfnFleet.AnywhereConfigurationProperty
@Stability(Stable)
public static final class CfnFleet.AnywhereConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleet.AnywhereConfigurationProperty>
A builder for
CfnFleet.AnywhereConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFleet.AnywhereConfigurationProperty.getCost()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cost
Sets the value ofCfnFleet.AnywhereConfigurationProperty.getCost()
- Parameters:
cost
- The cost to run your fleet per hour. This parameter is required. Amazon GameLift uses the provided cost of your fleet to balance usage in queues. For more information about queues, see Setting up queues in the Amazon GameLift Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleet.AnywhereConfigurationProperty>
- Returns:
- a new instance of
CfnFleet.AnywhereConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-