Interface GetFleetResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetFleetResponse.Builder,GetFleetResponse>, DeadlineResponse.Builder, SdkBuilder<GetFleetResponse.Builder,GetFleetResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetFleetResponse

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

    • autoScalingStatus

      GetFleetResponse.Builder autoScalingStatus(String autoScalingStatus)

      The Auto Scaling status of the fleet. Either GROWING, STEADY, or SHRINKING.

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

      GetFleetResponse.Builder autoScalingStatus(AutoScalingStatus autoScalingStatus)

      The Auto Scaling status of the fleet. Either GROWING, STEADY, or SHRINKING.

      Parameters:
      autoScalingStatus - The Auto Scaling status of the fleet. Either GROWING, STEADY, or SHRINKING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • capabilities

      GetFleetResponse.Builder capabilities(FleetCapabilities capabilities)

      Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.

      Parameters:
      capabilities - Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilities

      default GetFleetResponse.Builder capabilities(Consumer<FleetCapabilities.Builder> capabilities)

      Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.

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

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

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

      GetFleetResponse.Builder configuration(FleetConfiguration configuration)

      The configuration setting for the fleet.

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

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

      The configuration setting 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

      GetFleetResponse.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

      GetFleetResponse.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.
    • description

      GetFleetResponse.Builder description(String description)

      The description of the fleet.

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

      GetFleetResponse.Builder displayName(String displayName)

      The display name of the fleet.

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

      The farm ID of the farm in the fleet.

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

      GetFleetResponse.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

      GetFleetResponse.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

      GetFleetResponse.Builder minWorkerCount(Integer minWorkerCount)

      The minimum number of workers specified in the fleet.

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

      GetFleetResponse.Builder roleArn(String roleArn)

      The IAM role ARN.

      Parameters:
      roleArn - The IAM role ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The Auto Scaling status of the fleet.

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

      The Auto Scaling status of the fleet.

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

      GetFleetResponse.Builder targetWorkerCount(Integer targetWorkerCount)

      The number of target workers in the fleet.

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

      GetFleetResponse.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

      GetFleetResponse.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

      GetFleetResponse.Builder workerCount(Integer workerCount)

      The number of workers in the fleet.

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