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 Details

    • 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:
    • 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

      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.