Class CfnContainerFleet.LocationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnContainerFleet.LocationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerFleet.LocationConfigurationProperty>
- Enclosing interface:
CfnContainerFleet.LocationConfigurationProperty
@Stability(Stable)
public static final class CfnContainerFleet.LocationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerFleet.LocationConfigurationProperty>
A builder for
CfnContainerFleet.LocationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getLocation()
locationCapacity
(IResolvable locationCapacity) Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getLocationCapacity()
locationCapacity
(CfnContainerFleet.LocationCapacityProperty locationCapacity) Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getLocationCapacity()
stoppedActions
(List<String> stoppedActions) Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getStoppedActions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Stable) public CfnContainerFleet.LocationConfigurationProperty.Builder location(String location) Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getLocation()
- Parameters:
location
- An AWS Region code, such asus-west-2
. This parameter is required. For a list of supported Regions and Local Zones, see Amazon GameLift service locations for managed hosting.- Returns:
this
-
locationCapacity
@Stability(Stable) public CfnContainerFleet.LocationConfigurationProperty.Builder locationCapacity(IResolvable locationCapacity) Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getLocationCapacity()
- Parameters:
locationCapacity
- Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.- Returns:
this
-
locationCapacity
@Stability(Stable) public CfnContainerFleet.LocationConfigurationProperty.Builder locationCapacity(CfnContainerFleet.LocationCapacityProperty locationCapacity) Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getLocationCapacity()
- Parameters:
locationCapacity
- Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.- Returns:
this
-
stoppedActions
@Stability(Stable) public CfnContainerFleet.LocationConfigurationProperty.Builder stoppedActions(List<String> stoppedActions) Sets the value ofCfnContainerFleet.LocationConfigurationProperty.getStoppedActions()
- Parameters:
stoppedActions
- A list of fleet actions that have been suspended in the fleet location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContainerFleet.LocationConfigurationProperty>
- Returns:
- a new instance of
CfnContainerFleet.LocationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-