Interface Worker.Builder

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

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

    • arn

      Sets the value of the Arn property for this object.
      Parameters:
      arn - The new value for the Arn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      Sets the value of the Id property for this object.
      Parameters:
      id - The new value for the Id property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fleet

      Worker.Builder fleet(String fleet)
      Sets the value of the Fleet property for this object.
      Parameters:
      fleet - The new value for the Fleet property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Worker.Builder createdAt(Instant createdAt)
      Sets the value of the CreatedAt property for this object.
      Parameters:
      createdAt - The new value for the CreatedAt property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Worker.Builder updatedAt(Instant updatedAt)
      Sets the value of the UpdatedAt property for this object.
      Parameters:
      updatedAt - The new value for the UpdatedAt property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Worker.Builder name(String name)
      Sets the value of the Name property for this object.
      Parameters:
      name - The new value for the Name property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • site

      Worker.Builder site(String site)
      Sets the value of the Site property for this object.
      Parameters:
      site - The new value for the Site property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalTransientProperties

      Worker.Builder additionalTransientProperties(String additionalTransientProperties)
      Sets the value of the AdditionalTransientProperties property for this object.
      Parameters:
      additionalTransientProperties - The new value for the AdditionalTransientProperties property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalFixedProperties

      Worker.Builder additionalFixedProperties(String additionalFixedProperties)
      Sets the value of the AdditionalFixedProperties property for this object.
      Parameters:
      additionalFixedProperties - The new value for the AdditionalFixedProperties property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vendorProperties

      Worker.Builder vendorProperties(VendorProperties vendorProperties)
      Sets the value of the VendorProperties property for this object.
      Parameters:
      vendorProperties - The new value for the VendorProperties property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vendorProperties

      default Worker.Builder vendorProperties(Consumer<VendorProperties.Builder> vendorProperties)
      Sets the value of the VendorProperties property for this object. This is a convenience method that creates an instance of the VendorProperties.Builder avoiding the need to create one manually via VendorProperties.builder().

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

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

      Worker.Builder position(PositionCoordinates position)
      Sets the value of the Position property for this object.
      Parameters:
      position - The new value for the Position property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      default Worker.Builder position(Consumer<PositionCoordinates.Builder> position)
      Sets the value of the Position property for this object. This is a convenience method that creates an instance of the PositionCoordinates.Builder avoiding the need to create one manually via PositionCoordinates.builder().

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

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

      Worker.Builder orientation(Orientation orientation)
      Sets the value of the Orientation property for this object.
      Parameters:
      orientation - The new value for the Orientation property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orientation

      default Worker.Builder orientation(Consumer<Orientation.Builder> orientation)
      Sets the value of the Orientation property for this object. This is a convenience method that creates an instance of the Orientation.Builder avoiding the need to create one manually via Orientation.builder().

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

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