Interface ListCurationProposalsRequest.Builder

  • Method Details

    • agentContextId

      ListCurationProposalsRequest.Builder agentContextId(String agentContextId)

      The agent context whose proposals you want to list, by its ID or ARN.

      Parameters:
      agentContextId - The agent context whose proposals you want to list, by its ID or ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status to scope the queue to, for example, PENDING_REVIEW for the review queue. Required: a request lists one status, so list each status you want in its own request.

      Valid values:

      • PENDING_REVIEW - Waiting for a curator's decision. The only status Accept and Reject act on.

      • APPROVED - A curator accepted it. Its change set is published or publishing.

      • REJECTED - Closed without applying its change set: a curator rejected it, or the service did when a holding policy's review window passed with no decision (statusReasonCode REQUEST_EXPIRED).

      • SUPERSEDED - A newer proposal for the same document replaced it.

      • FAILED - The proposal was accepted, but publishing its change set failed. This status is final. To apply the change, submit it again.

      • PUBLISHING - Accepted and publishing asynchronously (an ontology-schema publish). The status then changes to APPROVED or FAILED.

      • ARCHIVED - The connection that produced it was removed from the agent context. statusReason.code is CONNECTION_REMOVED.

      Parameters:
      status - The status to scope the queue to, for example, PENDING_REVIEW for the review queue. Required: a request lists one status, so list each status you want in its own request.

      Valid values:

      • PENDING_REVIEW - Waiting for a curator's decision. The only status Accept and Reject act on.

      • APPROVED - A curator accepted it. Its change set is published or publishing.

      • REJECTED - Closed without applying its change set: a curator rejected it, or the service did when a holding policy's review window passed with no decision (statusReasonCode REQUEST_EXPIRED).

      • SUPERSEDED - A newer proposal for the same document replaced it.

      • FAILED - The proposal was accepted, but publishing its change set failed. This status is final. To apply the change, submit it again.

      • PUBLISHING - Accepted and publishing asynchronously (an ontology-schema publish). The status then changes to APPROVED or FAILED.

      • ARCHIVED - The connection that produced it was removed from the agent context. statusReason.code is CONNECTION_REMOVED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status to scope the queue to, for example, PENDING_REVIEW for the review queue. Required: a request lists one status, so list each status you want in its own request.

      Valid values:

      • PENDING_REVIEW - Waiting for a curator's decision. The only status Accept and Reject act on.

      • APPROVED - A curator accepted it. Its change set is published or publishing.

      • REJECTED - Closed without applying its change set: a curator rejected it, or the service did when a holding policy's review window passed with no decision (statusReasonCode REQUEST_EXPIRED).

      • SUPERSEDED - A newer proposal for the same document replaced it.

      • FAILED - The proposal was accepted, but publishing its change set failed. This status is final. To apply the change, submit it again.

      • PUBLISHING - Accepted and publishing asynchronously (an ontology-schema publish). The status then changes to APPROVED or FAILED.

      • ARCHIVED - The connection that produced it was removed from the agent context. statusReason.code is CONNECTION_REMOVED.

      Parameters:
      status - The status to scope the queue to, for example, PENDING_REVIEW for the review queue. Required: a request lists one status, so list each status you want in its own request.

      Valid values:

      • PENDING_REVIEW - Waiting for a curator's decision. The only status Accept and Reject act on.

      • APPROVED - A curator accepted it. Its change set is published or publishing.

      • REJECTED - Closed without applying its change set: a curator rejected it, or the service did when a holding policy's review window passed with no decision (statusReasonCode REQUEST_EXPIRED).

      • SUPERSEDED - A newer proposal for the same document replaced it.

      • FAILED - The proposal was accepted, but publishing its change set failed. This status is final. To apply the change, submit it again.

      • PUBLISHING - Accepted and publishing asynchronously (an ontology-schema publish). The status then changes to APPROVED or FAILED.

      • ARCHIVED - The connection that produced it was removed from the agent context. statusReason.code is CONNECTION_REMOVED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accessControl

      ListCurationProposalsRequest.Builder accessControl(String accessControl)

      The accessControl value to list proposals for. If you omit it, every proposal in the status is listed, each with its accessControl. If you specify a value that isn't listed, the request fails with ValidationException.

      Valid values:

      • ACL_RESTRICTED - Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal's title names no nodes or edges.

      • NO_ACL - Every caller can read the content.

      Parameters:
      accessControl - The accessControl value to list proposals for. If you omit it, every proposal in the status is listed, each with its accessControl. If you specify a value that isn't listed, the request fails with ValidationException.

      Valid values:

      • ACL_RESTRICTED - Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal's title names no nodes or edges.

      • NO_ACL - Every caller can read the content.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accessControl

      The accessControl value to list proposals for. If you omit it, every proposal in the status is listed, each with its accessControl. If you specify a value that isn't listed, the request fails with ValidationException.

      Valid values:

      • ACL_RESTRICTED - Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal's title names no nodes or edges.

      • NO_ACL - Every caller can read the content.

      Parameters:
      accessControl - The accessControl value to list proposals for. If you omit it, every proposal in the status is listed, each with its accessControl. If you specify a value that isn't listed, the request fails with ValidationException.

      Valid values:

      • ACL_RESTRICTED - Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal's title names no nodes or edges.

      • NO_ACL - Every caller can read the content.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      Maximum number of results per page (upper bound, not a target). The service might return fewer. Defaults to 50. A value outside 1–100 fails with ValidationException.

      Parameters:
      maxResults - Maximum number of results per page (upper bound, not a target). The service might return fewer. Defaults to 50. A value outside 1–100 fails with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      Opaque pagination cursor from a prior response. Omit for the first page.

      Parameters:
      nextToken - Opaque pagination cursor from a prior response. Omit for the first page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListCurationProposalsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.