Interface CollaborationChangeRequest.Builder

  • Method Details

    • id

      The unique identifier for the change request.

      Parameters:
      id - The unique identifier for the change request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaborationId

      CollaborationChangeRequest.Builder collaborationId(String collaborationId)

      The unique identifier for the collaboration being modified.

      Parameters:
      collaborationId - The unique identifier for the collaboration being modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTime

      The time when the change request was created.

      Parameters:
      createTime - The time when the change request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateTime

      The time when the change request was last updated.

      Parameters:
      updateTime - The time when the change request was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the change request. Valid values are PENDING, APPROVED, DENIED, COMMITTED, and CANCELLED.

      Parameters:
      status - The current status of the change request. Valid values are PENDING, APPROVED , DENIED, COMMITTED, and CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the change request. Valid values are PENDING, APPROVED, DENIED, COMMITTED, and CANCELLED.

      Parameters:
      status - The current status of the change request. Valid values are PENDING, APPROVED , DENIED, COMMITTED, and CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isAutoApproved

      CollaborationChangeRequest.Builder isAutoApproved(Boolean isAutoApproved)

      Whether the change request was automatically approved based on the collaboration's auto-approval settings.

      Parameters:
      isAutoApproved - Whether the change request was automatically approved based on the collaboration's auto-approval settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changes

      The list of changes specified in this change request.

      Parameters:
      changes - The list of changes specified in this change request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changes

      The list of changes specified in this change request.

      Parameters:
      changes - The list of changes specified in this change request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changes

      The list of changes specified in this change request.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to changes(List<Change>).

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