Interface ServiceJobAttemptDetail.Builder

  • Method Details

    • serviceResourceId

      ServiceJobAttemptDetail.Builder serviceResourceId(ServiceResourceId serviceResourceId)

      The service resource identifier associated with the service job attempt.

      Parameters:
      serviceResourceId - The service resource identifier associated with the service job attempt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceResourceId

      default ServiceJobAttemptDetail.Builder serviceResourceId(Consumer<ServiceResourceId.Builder> serviceResourceId)

      The service resource identifier associated with the service job attempt.

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

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

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

      ServiceJobAttemptDetail.Builder startedAt(Long startedAt)

      The Unix timestamp (in milliseconds) for when the service job attempt was started.

      Parameters:
      startedAt - The Unix timestamp (in milliseconds) for when the service job attempt was started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stoppedAt

      ServiceJobAttemptDetail.Builder stoppedAt(Long stoppedAt)

      The Unix timestamp (in milliseconds) for when the service job attempt stopped running.

      Parameters:
      stoppedAt - The Unix timestamp (in milliseconds) for when the service job attempt stopped running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReason

      ServiceJobAttemptDetail.Builder statusReason(String statusReason)

      A string that provides additional details for the current status of the service job attempt.

      Parameters:
      statusReason - A string that provides additional details for the current status of the service job attempt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.