Interface GetFleetResponse.Builder

  • Method Details

    • 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.
    • 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.
    • displayName

      GetFleetResponse.Builder displayName(String displayName)

      The display name of the fleet.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      Parameters:
      displayName - The display name of the fleet.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      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.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      Parameters:
      description - The description of the fleet.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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:
    • 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:
    • 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.
    • 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.
    • 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.
    • 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.
    • 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:
    • hostConfiguration

      GetFleetResponse.Builder hostConfiguration(HostConfiguration hostConfiguration)

      The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.

      Parameters:
      hostConfiguration - The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostConfiguration

      default GetFleetResponse.Builder hostConfiguration(Consumer<HostConfiguration.Builder> hostConfiguration)

      The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.

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

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

      Parameters:
      hostConfiguration - a consumer that will call methods on HostConfiguration.Builder
      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:
    • 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.
    • 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.
    • 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.