Class CfnFleetPropsMixin.AnywhereConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnFleetPropsMixin.AnywhereConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetPropsMixin.AnywhereConfigurationProperty>
- Enclosing interface:
CfnFleetPropsMixin.AnywhereConfigurationProperty
@Stability(Stable)
public static final class CfnFleetPropsMixin.AnywhereConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetPropsMixin.AnywhereConfigurationProperty>
A builder for
CfnFleetPropsMixin.AnywhereConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFleetPropsMixin.AnywhereConfigurationProperty.getCost()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cost
@Stability(Stable) public CfnFleetPropsMixin.AnywhereConfigurationProperty.Builder cost(String cost) Sets the value ofCfnFleetPropsMixin.AnywhereConfigurationProperty.getCost()- Parameters:
cost- The cost to run your fleet per hour. Amazon GameLift Servers 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 Servers Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleetPropsMixin.AnywhereConfigurationProperty>- Returns:
- a new instance of
CfnFleetPropsMixin.AnywhereConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-