Interface UpdateChangeSetRequest.Builder

  • Method Details

    • changeSetId

      UpdateChangeSetRequest.Builder changeSetId(String changeSetId)

      The change set to edit: the changeSetId that GetCurationProposal returns.

      Parameters:
      changeSetId - The change set to edit: the changeSetId that GetCurationProposal returns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentContextId

      UpdateChangeSetRequest.Builder agentContextId(String 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 with ResourceNotFoundException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changeSetVersion

      UpdateChangeSetRequest.Builder changeSetVersion(Integer 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 with ConflictException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      UpdateChangeSetRequest.Builder clientToken(String 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 a ValidationException.
      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 from ListChangeSetOperations. 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(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 from ListChangeSetOperations. 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 ListChangeSetOperations. A retry must resend the same list with the same clientToken.

      This is a convenience method that creates an instance of the ChangeSetOperation.Builder avoiding the need to create one manually via ChangeSetOperation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to operationsToRemove(List<ChangeSetOperation>).

      Parameters:
      operationsToRemove - a consumer that will call methods on ChangeSetOperation.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.