Interface FleetSummary.Builder

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

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

    • autoScalingStatus

      FleetSummary.Builder autoScalingStatus(String autoScalingStatus)

      The Auto Scaling status of a fleet.

      Parameters:
      autoScalingStatus - The Auto Scaling status of a fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoScalingStatus

      FleetSummary.Builder autoScalingStatus(AutoScalingStatus autoScalingStatus)

      The Auto Scaling status of a fleet.

      Parameters:
      autoScalingStatus - The Auto Scaling status of a fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • configuration

      FleetSummary.Builder configuration(FleetConfiguration configuration)

      The configuration details for the fleet.

      Parameters:
      configuration - The configuration details for the fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default FleetSummary.Builder configuration(Consumer<FleetConfiguration.Builder> configuration)

      The configuration details for the fleet.

      This is a convenience method that creates an instance of the FleetConfiguration.Builder avoiding the need to create one manually via FleetConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(FleetConfiguration).

      Parameters:
      configuration - a consumer that will call methods on FleetConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      FleetSummary.Builder createdAt(Instant createdAt)

      The date and time the resource was created.

      Parameters:
      createdAt - The date and time the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      FleetSummary.Builder createdBy(String createdBy)

      The user or system that created this resource.

      Parameters:
      createdBy - The user or system that created this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      FleetSummary.Builder displayName(String displayName)

      The display name of the fleet summary to update.

      Parameters:
      displayName - The display name of the fleet summary to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • farmId

      FleetSummary.Builder farmId(String farmId)

      The farm ID.

      Parameters:
      farmId - The farm ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fleetId

      FleetSummary.Builder fleetId(String fleetId)

      The fleet ID.

      Parameters:
      fleetId - The fleet ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxWorkerCount

      FleetSummary.Builder maxWorkerCount(Integer maxWorkerCount)

      The maximum number of workers specified in the fleet.

      Parameters:
      maxWorkerCount - The maximum number of workers specified in the fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minWorkerCount

      FleetSummary.Builder minWorkerCount(Integer minWorkerCount)

      The minimum number of workers in the fleet.

      Parameters:
      minWorkerCount - The minimum number of workers in the fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      FleetSummary.Builder status(String status)

      The status of the fleet.

      Parameters:
      status - The status of the fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the fleet.

      Parameters:
      status - The status of the fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetWorkerCount

      FleetSummary.Builder targetWorkerCount(Integer targetWorkerCount)

      The target number of workers in a fleet.

      Parameters:
      targetWorkerCount - The target number of workers in a fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      FleetSummary.Builder updatedAt(Instant updatedAt)

      The date and time the resource was updated.

      Parameters:
      updatedAt - The date and time the resource was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedBy

      FleetSummary.Builder updatedBy(String updatedBy)

      The user or system that updated this resource.

      Parameters:
      updatedBy - The user or system that updated this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workerCount

      FleetSummary.Builder workerCount(Integer workerCount)

      The number of workers in the fleet summary.

      Parameters:
      workerCount - The number of workers in the fleet summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.