Interface ReservationFleetInstanceSpecification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReservationFleetInstanceSpecification.Builder,ReservationFleetInstanceSpecification>, SdkBuilder<ReservationFleetInstanceSpecification.Builder,ReservationFleetInstanceSpecification>, SdkPojo
Enclosing class:
ReservationFleetInstanceSpecification

public static interface ReservationFleetInstanceSpecification.Builder extends SdkPojo, CopyableBuilder<ReservationFleetInstanceSpecification.Builder,ReservationFleetInstanceSpecification>
  • Method Details

    • instanceType

      The instance type for which the Capacity Reservation Fleet reserves capacity.

      Parameters:
      instanceType - The instance type for which the Capacity Reservation Fleet reserves capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      The instance type for which the Capacity Reservation Fleet reserves capacity.

      Parameters:
      instanceType - The instance type for which the Capacity Reservation Fleet reserves capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instancePlatform

      ReservationFleetInstanceSpecification.Builder instancePlatform(String instancePlatform)

      The type of operating system for which the Capacity Reservation Fleet reserves capacity.

      Parameters:
      instancePlatform - The type of operating system for which the Capacity Reservation Fleet reserves capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instancePlatform

      The type of operating system for which the Capacity Reservation Fleet reserves capacity.

      Parameters:
      instancePlatform - The type of operating system for which the Capacity Reservation Fleet reserves capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • weight

      The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

      Parameters:
      weight - The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      ReservationFleetInstanceSpecification.Builder availabilityZone(String availabilityZone)

      The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

      Parameters:
      availabilityZone - The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZoneId

      ReservationFleetInstanceSpecification.Builder availabilityZoneId(String availabilityZoneId)

      The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

      Parameters:
      availabilityZoneId - The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ebsOptimized

      Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

      Parameters:
      ebsOptimized - Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.

      Parameters:
      priority - The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.