Interface Update.Builder

    • Method Detail

      • id

        Update.Builder id​(String id)

        A UUID that is used to track the update.

        Parameters:
        id - A UUID that is used to track the update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Update.Builder status​(String status)

        The current status of the update.

        Parameters:
        status - The current status of the update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UpdateStatus, UpdateStatus
      • status

        Update.Builder status​(UpdateStatus status)

        The current status of the update.

        Parameters:
        status - The current status of the update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UpdateStatus, UpdateStatus
      • type

        Update.Builder type​(String type)

        The type of the update.

        Parameters:
        type - The type of the update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UpdateType, UpdateType
      • type

        Update.Builder type​(UpdateType type)

        The type of the update.

        Parameters:
        type - The type of the update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UpdateType, UpdateType
      • params

        Update.Builder params​(Collection<UpdateParam> params)

        A key-value map that contains the parameters associated with the update.

        Parameters:
        params - A key-value map that contains the parameters associated with the update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • params

        Update.Builder params​(UpdateParam... params)

        A key-value map that contains the parameters associated with the update.

        Parameters:
        params - A key-value map that contains the parameters associated with the update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        Update.Builder createdAt​(Instant createdAt)

        The Unix epoch timestamp at object creation.

        Parameters:
        createdAt - The Unix epoch timestamp at object creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        Update.Builder errors​(Collection<ErrorDetail> errors)

        Any errors associated with a Failed update.

        Parameters:
        errors - Any errors associated with a Failed update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        Update.Builder errors​(ErrorDetail... errors)

        Any errors associated with a Failed update.

        Parameters:
        errors - Any errors associated with a Failed update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.