Interface FleetCapacityReservation.Builder

  • Method Details

    • capacityReservationId

      FleetCapacityReservation.Builder capacityReservationId(String capacityReservationId)

      The ID of the Capacity Reservation.

      Parameters:
      capacityReservationId - The ID of the Capacity Reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZoneId

      FleetCapacityReservation.Builder availabilityZoneId(String availabilityZoneId)

      The ID of the Availability Zone in which the Capacity Reservation reserves capacity.

      Parameters:
      availabilityZoneId - The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      FleetCapacityReservation.Builder instanceType(String instanceType)

      The instance type for which the Capacity Reservation reserves capacity.

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

      FleetCapacityReservation.Builder instanceType(InstanceType instanceType)

      The instance type for which the Capacity Reservation reserves capacity.

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

      FleetCapacityReservation.Builder instancePlatform(String instancePlatform)

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

      Parameters:
      instancePlatform - The type of operating system for which the Capacity Reservation 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 reserves capacity.

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

      FleetCapacityReservation.Builder availabilityZone(String availabilityZone)

      The Availability Zone in which the Capacity Reservation reserves capacity.

      Parameters:
      availabilityZone - The Availability Zone in which the Capacity Reservation reserves capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalInstanceCount

      FleetCapacityReservation.Builder totalInstanceCount(Integer totalInstanceCount)

      The total number of instances for which the Capacity Reservation reserves capacity.

      Parameters:
      totalInstanceCount - The total number of instances for which the Capacity Reservation reserves capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fulfilledCapacity

      FleetCapacityReservation.Builder fulfilledCapacity(Double fulfilledCapacity)

      The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.

      Parameters:
      fulfilledCapacity - The number of capacity units fulfilled by the Capacity Reservation. 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.
    • ebsOptimized

      FleetCapacityReservation.Builder ebsOptimized(Boolean ebsOptimized)

      Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.

      Parameters:
      ebsOptimized - Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createDate

      FleetCapacityReservation.Builder createDate(Instant createDate)

      The date and time at which the Capacity Reservation was created.

      Parameters:
      createDate - The date and time at which the Capacity Reservation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • weight

      The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.

      Parameters:
      weight - The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.

      Parameters:
      priority - The priority of the instance type in the Capacity Reservation Fleet. 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.