Interface InstanceDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceDefinition.Builder,,InstanceDefinition> SdkBuilder<InstanceDefinition.Builder,,InstanceDefinition> SdkPojo
- Enclosing class:
InstanceDefinition
@Mutable
@NotThreadSafe
public static interface InstanceDefinition.Builder
extends SdkPojo, CopyableBuilder<InstanceDefinition.Builder,InstanceDefinition>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceType(String instanceType) An Amazon EC2 instance type designation.instanceType(GameServerGroupInstanceType instanceType) An Amazon EC2 instance type designation.weightedCapacity(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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 Servers 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 Servers 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.
-