Interface UpdateChangeSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<UpdateChangeSetResponse.Builder,,UpdateChangeSetResponse> SdkBuilder<UpdateChangeSetResponse.Builder,,UpdateChangeSetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateChangeSetResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessControl(String accessControl) SeeAccessControl.accessControl(AccessControl accessControl) SeeAccessControl.agentContextId(String agentContextId) The agent context's ID.changeSetVersion(Integer changeSetVersion) The version the edit created.The date and time when the change set was created.generatedBy(String generatedBy) The activity that generated the change set.generatedBy(Activity generatedBy) The activity that generated the change set.The change set's opaque instance ID.The status of the change set.status(ChangeSetStatus status) The status of the change set.default UpdateChangeSetResponse.BuilderstatusReason(Consumer<StatusReason.Builder> statusReason) Why AWS Context created or closed the change set, for example because a connection was removed from the agent context.statusReason(StatusReason statusReason) Why AWS Context created or closed the change set, for example because a connection was removed from the agent context.The date and time when the change set was last updated, such as when its status changed or its operations were edited.Methods inherited from interface software.amazon.awssdk.services.context.model.ContextResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
status
The status of the change set. Valid values:
-
DRAFT- AWS Context is evaluating the change set against the agent context's curation policies. -
PENDING- Held for review as a curation proposal. While the change set isPENDING, you can remove operations from it withUpdateChangeSet. -
AUTHORIZED- The change set is approved, and AWS Context is applying it. -
SUPPRESSED- AWS Context won't apply the change set, because a curation policy denied it or its curation proposal was closed without approval. -
PUBLISHED- AWS Context applied the change set to the agent context. -
FAILED- AWS Context couldn't apply the change set.
SUPPRESSEDandPUBLISHEDare final. AFAILEDchange set can still change toPUBLISHEDorPENDINGif AWS Context retries applying it. New values can be added, so handle a status that you don't recognize.- Parameters:
status- The status of the change set. Valid values:-
DRAFT- AWS Context is evaluating the change set against the agent context's curation policies. -
PENDING- Held for review as a curation proposal. While the change set isPENDING, you can remove operations from it withUpdateChangeSet. -
AUTHORIZED- The change set is approved, and AWS Context is applying it. -
SUPPRESSED- AWS Context won't apply the change set, because a curation policy denied it or its curation proposal was closed without approval. -
PUBLISHED- AWS Context applied the change set to the agent context. -
FAILED- AWS Context couldn't apply the change set.
SUPPRESSEDandPUBLISHEDare final. AFAILEDchange set can still change toPUBLISHEDorPENDINGif AWS Context retries applying it. New values can be added, so handle a status that you don't recognize.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the change set. Valid values:
-
DRAFT- AWS Context is evaluating the change set against the agent context's curation policies. -
PENDING- Held for review as a curation proposal. While the change set isPENDING, you can remove operations from it withUpdateChangeSet. -
AUTHORIZED- The change set is approved, and AWS Context is applying it. -
SUPPRESSED- AWS Context won't apply the change set, because a curation policy denied it or its curation proposal was closed without approval. -
PUBLISHED- AWS Context applied the change set to the agent context. -
FAILED- AWS Context couldn't apply the change set.
SUPPRESSEDandPUBLISHEDare final. AFAILEDchange set can still change toPUBLISHEDorPENDINGif AWS Context retries applying it. New values can be added, so handle a status that you don't recognize.- Parameters:
status- The status of the change set. Valid values:-
DRAFT- AWS Context is evaluating the change set against the agent context's curation policies. -
PENDING- Held for review as a curation proposal. While the change set isPENDING, you can remove operations from it withUpdateChangeSet. -
AUTHORIZED- The change set is approved, and AWS Context is applying it. -
SUPPRESSED- AWS Context won't apply the change set, because a curation policy denied it or its curation proposal was closed without approval. -
PUBLISHED- AWS Context applied the change set to the agent context. -
FAILED- AWS Context couldn't apply the change set.
SUPPRESSEDandPUBLISHEDare final. AFAILEDchange set can still change toPUBLISHEDorPENDINGif AWS Context retries applying it. New values can be added, so handle a status that you don't recognize.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
createdAt
The date and time when the change set was created.
- Parameters:
createdAt- The date and time when the change set was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the change set was last updated, such as when its status changed or its operations were edited.
- Parameters:
updatedAt- The date and time when the change set was last updated, such as when its status changed or its operations were edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControl
See
AccessControl. The service returns it on every item.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- SeeAccessControl. The service returns it on every item.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
See
AccessControl. The service returns it on every item.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- SeeAccessControl. The service returns it on every item.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:
-
-
generatedBy
The activity that generated the change set. A change set that an
IMPORT_ONTOLOGYtask writes carriesIMPORT_ONTOLOGY_TASK, and one that aCreateChangeSetcall makes carriesDIRECT_MODIFICATION. A sync of a connected data source's own metadata, such as an AWS Glue Data Catalog sync, carriesDATA_SOURCE_INGESTION. To list the change sets that carry a value, filterListChangeSetson it.This member can be absent, so handle a change set that has no activity. For example, it's absent on a change set that records a connection's removal, on a change set that AWS Context wrote when it loaded an ontology's schema, and on a change set whose activity this API version doesn't recognize.
- Parameters:
generatedBy- The activity that generated the change set. A change set that anIMPORT_ONTOLOGYtask writes carriesIMPORT_ONTOLOGY_TASK, and one that aCreateChangeSetcall makes carriesDIRECT_MODIFICATION. A sync of a connected data source's own metadata, such as an AWS Glue Data Catalog sync, carriesDATA_SOURCE_INGESTION. To list the change sets that carry a value, filterListChangeSetson it.This member can be absent, so handle a change set that has no activity. For example, it's absent on a change set that records a connection's removal, on a change set that AWS Context wrote when it loaded an ontology's schema, and on a change set whose activity this API version doesn't recognize.
- 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. A change set that an
IMPORT_ONTOLOGYtask writes carriesIMPORT_ONTOLOGY_TASK, and one that aCreateChangeSetcall makes carriesDIRECT_MODIFICATION. A sync of a connected data source's own metadata, such as an AWS Glue Data Catalog sync, carriesDATA_SOURCE_INGESTION. To list the change sets that carry a value, filterListChangeSetson it.This member can be absent, so handle a change set that has no activity. For example, it's absent on a change set that records a connection's removal, on a change set that AWS Context wrote when it loaded an ontology's schema, and on a change set whose activity this API version doesn't recognize.
- Parameters:
generatedBy- The activity that generated the change set. A change set that anIMPORT_ONTOLOGYtask writes carriesIMPORT_ONTOLOGY_TASK, and one that aCreateChangeSetcall makes carriesDIRECT_MODIFICATION. A sync of a connected data source's own metadata, such as an AWS Glue Data Catalog sync, carriesDATA_SOURCE_INGESTION. To list the change sets that carry a value, filterListChangeSetson it.This member can be absent, so handle a change set that has no activity. For example, it's absent on a change set that records a connection's removal, on a change set that AWS Context wrote when it loaded an ontology's schema, and on a change set whose activity this API version doesn't recognize.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Why AWS Context created or closed the change set, for example because a connection was removed from the agent context. AWS Context keeps it across later status changes, including a curator's decision. Absent when AWS Context gave no reason.
- Parameters:
statusReason- Why AWS Context created or closed the change set, for example because a connection was removed from the agent context. AWS Context keeps it across later status changes, including a curator's decision. Absent when AWS Context gave no reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
Why AWS Context created or closed the change set, for example because a connection was removed from the agent context. AWS Context keeps it across later status changes, including a curator's decision. Absent when AWS Context gave no reason.
This is a convenience method that creates an instance of theStatusReason.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 change set's opaque instance ID. Requests take it as
changeSetId.- Parameters:
id- The change set's opaque instance ID. Requests take it aschangeSetId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeSetVersion
The version the edit created. Pass it to the next UpdateChangeSet.
- Parameters:
changeSetVersion- The version the edit created. Pass it to the next UpdateChangeSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-