Interface ResourceError.Builder

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

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

    • errorCode

      ResourceError.Builder errorCode(String errorCode)

      The error code.

      Parameters:
      errorCode - The error code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      ResourceError.Builder errorCode(FleetErrorCode errorCode)

      The error code.

      Parameters:
      errorCode - The error code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      ResourceError.Builder errorMessage(String errorMessage)

      The error message.

      Parameters:
      errorMessage - The error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorTimestamp

      ResourceError.Builder errorTimestamp(Instant errorTimestamp)

      The time the error occurred.

      Parameters:
      errorTimestamp - The time the error occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.