Class CfnFleet.LocationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnFleet.LocationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.LocationConfigurationProperty>
- Enclosing interface:
CfnFleet.LocationConfigurationProperty
@Stability(Stable)
public static final class CfnFleet.LocationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleet.LocationConfigurationProperty>
A builder for
CfnFleet.LocationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFleet.LocationConfigurationProperty.getLocation()
locationCapacity
(IResolvable locationCapacity) Sets the value ofCfnFleet.LocationConfigurationProperty.getLocationCapacity()
locationCapacity
(CfnFleet.LocationCapacityProperty locationCapacity) Sets the value ofCfnFleet.LocationConfigurationProperty.getLocationCapacity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
Sets the value ofCfnFleet.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 CfnFleet.LocationConfigurationProperty.Builder locationCapacity(IResolvable locationCapacity) Sets the value ofCfnFleet.LocationConfigurationProperty.getLocationCapacity()
- Parameters:
locationCapacity
- Current resource capacity settings for managed EC2 fleets and container fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region.Returned by: DescribeFleetCapacity , DescribeFleetLocationCapacity , UpdateFleetCapacity
- Returns:
this
-
locationCapacity
@Stability(Stable) public CfnFleet.LocationConfigurationProperty.Builder locationCapacity(CfnFleet.LocationCapacityProperty locationCapacity) Sets the value ofCfnFleet.LocationConfigurationProperty.getLocationCapacity()
- Parameters:
locationCapacity
- Current resource capacity settings for managed EC2 fleets and container fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region.Returned by: DescribeFleetCapacity , DescribeFleetLocationCapacity , UpdateFleetCapacity
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleet.LocationConfigurationProperty>
- Returns:
- a new instance of
CfnFleet.LocationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-