Interface UpdateChangeSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<UpdateChangeSetRequest.Builder,,UpdateChangeSetRequest> SdkBuilder<UpdateChangeSetRequest.Builder,,UpdateChangeSetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateChangeSetRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentContextId(String agentContextId) The agent context that the change set belongs to, by its ID or ARN.changeSetId(String changeSetId) The change set to edit: thechangeSetIdthat GetCurationProposal returns.changeSetVersion(Integer changeSetVersion) The change set version that you read with GetChangeSet.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to make the request idempotent.operationsToRemove(Collection<ChangeSetOperation> operationsToRemove) Operations to remove, copied unchanged fromListChangeSetOperations.operationsToRemove(Consumer<ChangeSetOperation.Builder>... operationsToRemove) Operations to remove, copied unchanged fromListChangeSetOperations.operationsToRemove(ChangeSetOperation... operationsToRemove) Operations to remove, copied unchanged fromListChangeSetOperations.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
changeSetId
The change set to edit: the
changeSetIdthat GetCurationProposal returns.- Parameters:
changeSetId- The change set to edit: thechangeSetIdthat GetCurationProposal returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentContextId
The agent context that the change set belongs to, by its ID or ARN. AWS Context authorizes the request on this agent context's ARN. If the change set belongs to another agent context, the request fails with
ResourceNotFoundException.- Parameters:
agentContextId- The agent context that the change set belongs to, by its ID or ARN. AWS Context authorizes the request on this agent context's ARN. If the change set belongs to another agent context, the request fails withResourceNotFoundException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeSetVersion
The change set version that you read with GetChangeSet. The edit applies only if it's still the latest version. Otherwise, the request fails with
ConflictException.- Parameters:
changeSetVersion- The change set version that you read with GetChangeSet. The edit applies only if it's still the latest version. Otherwise, the request fails withConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to make the request idempotent. For 8 hours, a retry of the same request with the same token returns the change set's latest version without writing again, and the same token used for another change set or a different request returns a
ValidationException.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to make the request idempotent. For 8 hours, a retry of the same request with the same token returns the change set's latest version without writing again, and the same token used for another change set or a different request returns aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationsToRemove
UpdateChangeSetRequest.Builder operationsToRemove(Collection<ChangeSetOperation> operationsToRemove) Operations to remove, copied unchanged from
ListChangeSetOperations. A retry must resend the same list with the same clientToken.- Parameters:
operationsToRemove- Operations to remove, copied unchanged fromListChangeSetOperations. A retry must resend the same list with the same clientToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationsToRemove
Operations to remove, copied unchanged from
ListChangeSetOperations. A retry must resend the same list with the same clientToken.- Parameters:
operationsToRemove- Operations to remove, copied unchanged fromListChangeSetOperations. A retry must resend the same list with the same clientToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationsToRemove
UpdateChangeSetRequest.Builder operationsToRemove(Consumer<ChangeSetOperation.Builder>... operationsToRemove) Operations to remove, copied unchanged from
This is a convenience method that creates an instance of theListChangeSetOperations. A retry must resend the same list with the same clientToken.ChangeSetOperation.Builderavoiding the need to create one manually viaChangeSetOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperationsToRemove(List<ChangeSetOperation>).- Parameters:
operationsToRemove- a consumer that will call methods onChangeSetOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateChangeSetRequest.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
UpdateChangeSetRequest.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.
-