Class CfnFleetPropsMixin.LocationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnFleetPropsMixin.LocationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetPropsMixin.LocationConfigurationProperty>
- Enclosing interface:
CfnFleetPropsMixin.LocationConfigurationProperty
@Stability(Stable)
public static final class CfnFleetPropsMixin.LocationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetPropsMixin.LocationConfigurationProperty>
A builder for
CfnFleetPropsMixin.LocationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFleetPropsMixin.LocationConfigurationProperty.getLocation()locationCapacity(CfnFleetPropsMixin.LocationCapacityProperty locationCapacity) Sets the value ofCfnFleetPropsMixin.LocationConfigurationProperty.getLocationCapacity()locationCapacity(IResolvable locationCapacity) Sets the value ofCfnFleetPropsMixin.LocationConfigurationProperty.getLocationCapacity()playerGatewayStatus(String playerGatewayStatus)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Stable) public CfnFleetPropsMixin.LocationConfigurationProperty.Builder location(String location) Sets the value ofCfnFleetPropsMixin.LocationConfigurationProperty.getLocation()- Parameters:
location- An AWS Region code, such asus-west-2. For a list of supported Regions and Local Zones, see Amazon GameLift Servers service locations for managed hosting.- Returns:
this
-
locationCapacity
@Stability(Stable) public CfnFleetPropsMixin.LocationConfigurationProperty.Builder locationCapacity(IResolvable locationCapacity) Sets the value ofCfnFleetPropsMixin.LocationConfigurationProperty.getLocationCapacity()- Parameters:
locationCapacity- Current resource capacity settings for managed EC2 fleets and managed 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 CfnFleetPropsMixin.LocationConfigurationProperty.Builder locationCapacity(CfnFleetPropsMixin.LocationCapacityProperty locationCapacity) Sets the value ofCfnFleetPropsMixin.LocationConfigurationProperty.getLocationCapacity()- Parameters:
locationCapacity- Current resource capacity settings for managed EC2 fleets and managed 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
-
playerGatewayStatus
@Stability(Stable) public CfnFleetPropsMixin.LocationConfigurationProperty.Builder playerGatewayStatus(String playerGatewayStatus) - Parameters:
playerGatewayStatus- The player gateway status for the location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleetPropsMixin.LocationConfigurationProperty>- Returns:
- a new instance of
CfnFleetPropsMixin.LocationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-