Interface CurationProposalSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CurationProposalSummary.Builder,,CurationProposalSummary> SdkBuilder<CurationProposalSummary.Builder,,CurationProposalSummary> SdkPojo
- Enclosing class:
CurationProposalSummary
-
Method Summary
Modifier and TypeMethodDescriptionaccessControl(String accessControl) Who can read the authorizing change set's content.accessControl(AccessControl accessControl) Who can read the authorizing change set's content.agentContextId(String agentContextId) The agent context's ID.changeSetId(String changeSetId) The change set this proposal reviews.The date and time when the curation proposal was created.The date and time when the review window closes, which is when a holding policy'sautoRejectAfterSecondselapses.generatedBy(String generatedBy) The activity that generated the change set (seeActivity).generatedBy(Activity generatedBy) The activity that generated the change set (seeActivity).The proposal's opaque instance ID.revisionId(String revisionId) An opaque revision token.The status of the curation proposal, such asPENDING_REVIEWwhile it waits for a decision,APPROVEDorREJECTEDonce it is decided, orARCHIVEDwhen the connection that produced it was removed from the agent context.status(CurationProposalStatus status) The status of the curation proposal, such asPENDING_REVIEWwhile it waits for a decision,APPROVEDorREJECTEDonce it is decided, orARCHIVEDwhen the connection that produced it was removed from the agent context.default CurationProposalSummary.BuilderstatusReason(Consumer<StatusReason.Builder> statusReason) Why AWS Context closed the proposal.statusReason(StatusReason statusReason) Why AWS Context closed the proposal.statusReasonCode(String statusReasonCode) Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision.statusReasonCode(StatusReasonCode statusReasonCode) Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision.A one-line English title that AWS Context composes for the proposal, at most 1,024 characters.The date and time when the curation proposal was last updated, such as when its change set was edited or the proposal was decided.Methods 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
-
changeSetId
The change set this proposal reviews. UpdateChangeSet edits that change set in place, so this ID never changes.
- Parameters:
changeSetId- The change set this proposal reviews. UpdateChangeSet edits that change set in place, so this ID never changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
A one-line English title that AWS Context composes for the proposal, at most 1,024 characters. For example,
Add 'orders' and 2 more entities, and 20 relationships,Add 'orders → customers' and 2 more relationships, orAssociate ontology 'my-ontology' version 2. The title names the lead node (the node that starts the most edges, otherwise the first node) by its name, or by its ID if it has no name. For an edge-only change, it names the lead relationship's two node IDs. For an ontology load, it names the ontology ID and version. The title is for display only. It is not translated and is not meant to be parsed.For an
ACL_RESTRICTEDchange set (seeaccessControl), the title contains only the verb and the counts, with no node, edge, type, or ontology. The title is absent when the change set is unreadable or has nothing to describe, such as a change set that records a connection's removal. A node name or ID, ontology ID, or ontology version longer than 128 characters is truncated to 128 characters, ending in….- Parameters:
title- A one-line English title that AWS Context composes for the proposal, at most 1,024 characters. For example,Add 'orders' and 2 more entities, and 20 relationships,Add 'orders → customers' and 2 more relationships, orAssociate ontology 'my-ontology' version 2. The title names the lead node (the node that starts the most edges, otherwise the first node) by its name, or by its ID if it has no name. For an edge-only change, it names the lead relationship's two node IDs. For an ontology load, it names the ontology ID and version. The title is for display only. It is not translated and is not meant to be parsed.For an
ACL_RESTRICTEDchange set (seeaccessControl), the title contains only the verb and the counts, with no node, edge, type, or ontology. The title is absent when the change set is unreadable or has nothing to describe, such as a change set that records a connection's removal. A node name or ID, ontology ID, or ontology version longer than 128 characters is truncated to 128 characters, ending in….- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generatedBy
The activity that generated the change set (see
Activity). This member can be absent, so handle a proposal that has no activity. For example, it's absent when the change set is unreadable, when AWS Context wrote the change set to load an ontology's schema, when the change set records a connection's removal, and when this API version doesn't recognize the activity.- Parameters:
generatedBy- The activity that generated the change set (seeActivity). This member can be absent, so handle a proposal that has no activity. For example, it's absent when the change set is unreadable, when AWS Context wrote the change set to load an ontology's schema, when the change set records a connection's removal, and when this API version doesn't recognize the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
generatedBy
The activity that generated the change set (see
Activity). This member can be absent, so handle a proposal that has no activity. For example, it's absent when the change set is unreadable, when AWS Context wrote the change set to load an ontology's schema, when the change set records a connection's removal, and when this API version doesn't recognize the activity.- Parameters:
generatedBy- The activity that generated the change set (seeActivity). This member can be absent, so handle a proposal that has no activity. For example, it's absent when the change set is unreadable, when AWS Context wrote the change set to load an ontology's schema, when the change set records a connection's removal, and when this API version doesn't recognize the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revisionId
An opaque revision token. Pass it back as
revisionIdwhen you accept or reject the proposal.- Parameters:
revisionId- An opaque revision token. Pass it back asrevisionIdwhen you accept or reject the proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the curation proposal, such as
PENDING_REVIEWwhile it waits for a decision,APPROVEDorREJECTEDonce it is decided, orARCHIVEDwhen the connection that produced it was removed from the agent context. New values can be added, so handle a status that you don't recognize.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 of the curation proposal, such asPENDING_REVIEWwhile it waits for a decision,APPROVEDorREJECTEDonce it is decided, orARCHIVEDwhen the connection that produced it was removed from the agent context. New values can be added, so handle a status that you don't recognize.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 of the curation proposal, such as
PENDING_REVIEWwhile it waits for a decision,APPROVEDorREJECTEDonce it is decided, orARCHIVEDwhen the connection that produced it was removed from the agent context. New values can be added, so handle a status that you don't recognize.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 of the curation proposal, such asPENDING_REVIEWwhile it waits for a decision,APPROVEDorREJECTEDonce it is decided, orARCHIVEDwhen the connection that produced it was removed from the agent context. New values can be added, so handle a status that you don't recognize.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:
-
-
statusReasonCode
Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision. Absent when a curator decided it.
Valid values:
-
REQUEST_EXPIRED- The auto-reject window of a policy that held the proposal passed with no decision, so the service rejected it. -
CONNECTION_REMOVED- The connection was removed from the agent context. AWS Context removes the data that only that connection produced, and archives the connection's pending proposals.
- Parameters:
statusReasonCode- Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision. Absent when a curator decided it.Valid values:
-
REQUEST_EXPIRED- The auto-reject window of a policy that held the proposal passed with no decision, so the service rejected it. -
CONNECTION_REMOVED- The connection was removed from the agent context. AWS Context removes the data that only that connection produced, and archives the connection's pending proposals.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusReasonCode
Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision. Absent when a curator decided it.
Valid values:
-
REQUEST_EXPIRED- The auto-reject window of a policy that held the proposal passed with no decision, so the service rejected it. -
CONNECTION_REMOVED- The connection was removed from the agent context. AWS Context removes the data that only that connection produced, and archives the connection's pending proposals.
- Parameters:
statusReasonCode- Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision. Absent when a curator decided it.Valid values:
-
REQUEST_EXPIRED- The auto-reject window of a policy that held the proposal passed with no decision, so the service rejected it. -
CONNECTION_REMOVED- The connection was removed from the agent context. AWS Context removes the data that only that connection produced, and archives the connection's pending proposals.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
accessControl
Who can read the authorizing change set's content. See
AccessControl. If the value isACL_RESTRICTED,ListChangeSetOperationsonchangeSetIdreturns the operations only to an allowed end user. Any other caller getsAccessDeniedException, andGetChangeSetreturns only metadata, and the proposal's title has no node names or edge endpoints. The service returnsaccessControlon every proposal.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- Who can read the authorizing change set's content. SeeAccessControl. If the value isACL_RESTRICTED,ListChangeSetOperationsonchangeSetIdreturns the operations only to an allowed end user. Any other caller getsAccessDeniedException, andGetChangeSetreturns only metadata, and the proposal's title has no node names or edge endpoints. The service returnsaccessControlon every proposal.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
Who can read the authorizing change set's content. See
AccessControl. If the value isACL_RESTRICTED,ListChangeSetOperationsonchangeSetIdreturns the operations only to an allowed end user. Any other caller getsAccessDeniedException, andGetChangeSetreturns only metadata, and the proposal's title has no node names or edge endpoints. The service returnsaccessControlon every proposal.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- Who can read the authorizing change set's content. SeeAccessControl. If the value isACL_RESTRICTED,ListChangeSetOperationsonchangeSetIdreturns the operations only to an allowed end user. Any other caller getsAccessDeniedException, andGetChangeSetreturns only metadata, and the proposal's title has no node names or edge endpoints. The service returnsaccessControlon every proposal.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:
-
-
agentContextId
The agent context's ID.
- Parameters:
agentContextId- The agent context's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The date and time when the review window closes, which is when a holding policy's
autoRejectAfterSecondselapses. If no curator has decided the proposal by then, AWS Context rejects it withstatusReasonCodeREQUEST_EXPIRED. Present only whilestatusisPENDING_REVIEWand a holding policy set a window. Absent on every other status.- Parameters:
expiresAt- The date and time when the review window closes, which is when a holding policy'sautoRejectAfterSecondselapses. If no curator has decided the proposal by then, AWS Context rejects it withstatusReasonCodeREQUEST_EXPIRED. Present only whilestatusisPENDING_REVIEWand a holding policy set a window. Absent on every other status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time when the curation proposal was created.
- Parameters:
createdAt- The date and time when the curation proposal was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the curation proposal was last updated, such as when its change set was edited or the proposal was decided. Equal to
createdAtuntil the first update.- Parameters:
updatedAt- The date and time when the curation proposal was last updated, such as when its change set was edited or the proposal was decided. Equal tocreatedAtuntil the first update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
Why AWS Context closed the proposal. Set on an
ARCHIVEDproposal. Absent otherwise.- Parameters:
statusReason- Why AWS Context closed the proposal. Set on anARCHIVEDproposal. Absent otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
Why AWS Context closed the proposal. Set on an
This is a convenience method that creates an instance of theARCHIVEDproposal. Absent otherwise.StatusReason.Builderavoiding the need to create one manually viaStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusReason(StatusReason).- Parameters:
statusReason- a consumer that will call methods onStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The proposal's opaque instance ID. Requests take it as
curationProposalId.- Parameters:
id- The proposal's opaque instance ID. Requests take it ascurationProposalId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-