Class GetChangeSetResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetChangeSetResponse.Builder,GetChangeSetResponse>
The metadata of a change set, which is a proposed set of operations on an agent context. To read its operations, call
ListChangeSetOperations.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccessControlSeeAccessControl.final StringSeeAccessControl.final StringThe agent context's ID.static GetChangeSetResponse.Builderbuilder()final IntegerThe change set's latest version.final StringThe ARN of the connection that produced this change set.final InstantThe date and time when the change set was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ActivityThe activity that generated the change set.final StringThe activity that generated the change set.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkResponse.final inthashCode()final Stringid()The change set's opaque instance ID.static Class<? extends GetChangeSetResponse.Builder> final ChangeSetStatusstatus()The status of the change set.final StringThe status of the change set.final StatusReasonWhy AWS Context created or closed the change set, for example because a connection was removed from the agent context.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe date and time when the change set was last updated, such as when its status changed or its operations were edited.Methods inherited from class software.amazon.awssdk.services.context.model.ContextResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
agentContextId
-
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.If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangeSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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. -
- See Also:
-
-
statusAsString
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.If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangeSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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. -
- See Also:
-
-
createdAt
The date and time when the change set was created.
- Returns:
- The date and time when the change set was created.
-
updatedAt
The date and time when the change set was last updated, such as when its status changed or its operations were edited.
- Returns:
- The date and time when the change set was last updated, such as when its status changed or its operations were edited.
-
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.
If the service returns an enum value that is not available in the current SDK version,
accessControlwill returnAccessControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessControlAsString().- Returns:
- 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.
-
- See Also:
-
-
accessControlAsString
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.
If the service returns an enum value that is not available in the current SDK version,
accessControlwill returnAccessControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessControlAsString().- Returns:
- 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.
-
- 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.
If the service returns an enum value that is not available in the current SDK version,
generatedBywill returnActivity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgeneratedByAsString().- Returns:
- 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.
- See Also:
-
generatedByAsString
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.
If the service returns an enum value that is not available in the current SDK version,
generatedBywill returnActivity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgeneratedByAsString().- Returns:
- 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.
- 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.
- Returns:
- 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.
-
id
The change set's opaque instance ID. Requests take it as
changeSetId.- Returns:
- The change set's opaque instance ID. Requests take it as
changeSetId.
-
changeSetVersion
The change set's latest version. Pass it to
UpdateChangeSet. Each version is immutable. The number increases by one on each edit and each status change.- Returns:
- The change set's latest version. Pass it to
UpdateChangeSet. Each version is immutable. The number increases by one on each edit and each status change.
-
connectionArn
The ARN of the connection that produced this change set. Absent for a change that no connection produced, such as a direct
CreateChangeSetcall, and for everyACL_RESTRICTEDchange set, because the connection would identify the source of the restricted content.- Returns:
- The ARN of the connection that produced this change set. Absent for a change that no connection produced,
such as a direct
CreateChangeSetcall, and for everyACL_RESTRICTEDchange set, because the connection would identify the source of the restricted content.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetChangeSetResponse.Builder,GetChangeSetResponse> - Specified by:
toBuilderin classAwsResponse- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkResponseUsed to retrieve the value of a field from any class that extendsSdkResponse. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkResponse.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkResponse- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-