Interface ListCurationProposalsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<ListCurationProposalsRequest.Builder,,ListCurationProposalsRequest> SdkBuilder<ListCurationProposalsRequest.Builder,,ListCurationProposalsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListCurationProposalsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessControl(String accessControl) TheaccessControlvalue to list proposals for.accessControl(AccessControl accessControl) TheaccessControlvalue to list proposals for.agentContextId(String agentContextId) The agent context whose proposals you want to list, by its ID or ARN.maxResults(Integer maxResults) Maximum number of results per page (upper bound, not a target).Opaque pagination cursor from a prior response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The status to scope the queue to, for example, PENDING_REVIEW for the review queue.status(CurationProposalStatus status) The status to scope the queue to, for example, PENDING_REVIEW for the review queue.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.context.model.ContextRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 (statusReasonCodeREQUEST_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.codeis 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 (statusReasonCodeREQUEST_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.codeis 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 (statusReasonCodeREQUEST_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.codeis 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 (statusReasonCodeREQUEST_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.codeis CONNECTION_REMOVED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
accessControl
The
accessControlvalue to list proposals for. If you omit it, every proposal in the status is listed, each with itsaccessControl. If you specify a value that isn't listed, the request fails withValidationException.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'stitlenames no nodes or edges. -
NO_ACL- Every caller can read the content.
- Parameters:
accessControl- TheaccessControlvalue to list proposals for. If you omit it, every proposal in the status is listed, each with itsaccessControl. If you specify a value that isn't listed, the request fails withValidationException.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'stitlenames 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
accessControlvalue to list proposals for. If you omit it, every proposal in the status is listed, each with itsaccessControl. If you specify a value that isn't listed, the request fails withValidationException.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'stitlenames no nodes or edges. -
NO_ACL- Every caller can read the content.
- Parameters:
accessControl- TheaccessControlvalue to list proposals for. If you omit it, every proposal in the status is listed, each with itsaccessControl. If you specify a value that isn't listed, the request fails withValidationException.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'stitlenames 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 withValidationException.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListCurationProposalsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-