Interface InstanceDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceDefinition.Builder,InstanceDefinition>,SdkBuilder<InstanceDefinition.Builder,InstanceDefinition>,SdkPojo
- Enclosing class:
- InstanceDefinition
public static interface InstanceDefinition.Builder extends SdkPojo, CopyableBuilder<InstanceDefinition.Builder,InstanceDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceDefinition.BuilderinstanceType(String instanceType)An Amazon EC2 instance type designation.InstanceDefinition.BuilderinstanceType(GameServerGroupInstanceType instanceType)An Amazon EC2 instance type designation.InstanceDefinition.BuilderweightedCapacity(String weightedCapacity)Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceType
InstanceDefinition.Builder instanceType(String instanceType)
An Amazon EC2 instance type designation.
- Parameters:
instanceType- An Amazon EC2 instance type designation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GameServerGroupInstanceType,GameServerGroupInstanceType
-
instanceType
InstanceDefinition.Builder instanceType(GameServerGroupInstanceType instanceType)
An Amazon EC2 instance type designation.
- Parameters:
instanceType- An Amazon EC2 instance type designation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GameServerGroupInstanceType,GameServerGroupInstanceType
-
weightedCapacity
InstanceDefinition.Builder weightedCapacity(String weightedCapacity)
Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by Amazon GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon Elastic Compute Cloud Auto Scaling User Guide. Default value is "1".
- Parameters:
weightedCapacity- Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by Amazon GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon Elastic Compute Cloud Auto Scaling User Guide. Default value is "1".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-