Interface LocationAttributes.Builder

  • Method Details

    • locationState

      LocationAttributes.Builder locationState(LocationState locationState)

      A fleet location and its current life-cycle state.

      Parameters:
      locationState - A fleet location and its current life-cycle state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locationState

      default LocationAttributes.Builder locationState(Consumer<LocationState.Builder> locationState)

      A fleet location and its current life-cycle state.

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

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

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

      LocationAttributes.Builder stoppedActionsWithStrings(Collection<String> stoppedActions)

      A list of fleet actions that have been suspended in the fleet location.

      Parameters:
      stoppedActions - A list of fleet actions that have been suspended in the fleet location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stoppedActionsWithStrings

      LocationAttributes.Builder stoppedActionsWithStrings(String... stoppedActions)

      A list of fleet actions that have been suspended in the fleet location.

      Parameters:
      stoppedActions - A list of fleet actions that have been suspended in the fleet location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stoppedActions

      LocationAttributes.Builder stoppedActions(Collection<FleetAction> stoppedActions)

      A list of fleet actions that have been suspended in the fleet location.

      Parameters:
      stoppedActions - A list of fleet actions that have been suspended in the fleet location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stoppedActions

      LocationAttributes.Builder stoppedActions(FleetAction... stoppedActions)

      A list of fleet actions that have been suspended in the fleet location.

      Parameters:
      stoppedActions - A list of fleet actions that have been suspended in the fleet location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateStatus

      LocationAttributes.Builder updateStatus(String updateStatus)

      The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that StopFleetActions or StartFleetActions has been requested but the update has not yet been completed for the location.

      Parameters:
      updateStatus - The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that StopFleetActions or StartFleetActions has been requested but the update has not yet been completed for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateStatus

      The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that StopFleetActions or StartFleetActions has been requested but the update has not yet been completed for the location.

      Parameters:
      updateStatus - The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that StopFleetActions or StartFleetActions has been requested but the update has not yet been completed for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: