Interface CreateChangeSetRequest.Builder

  • Method Details

    • clientToken

      CreateChangeSetRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token returns the same change set.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token returns the same change set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessControlConfig

      CreateChangeSetRequest.Builder accessControlConfig(AccessControlConfig accessControlConfig)

      Who can read the nodes that this change set writes. AWS Context refuses it on a change set that only deletes. If you omit it, every reader of the agent context can read a node that the change creates, and every other node keeps its access control. If you specify it, it replaces the access control of every node that the change set writes, and an absent or empty accessControlList lets nobody read them.

      Parameters:
      accessControlConfig - Who can read the nodes that this change set writes. AWS Context refuses it on a change set that only deletes. If you omit it, every reader of the agent context can read a node that the change creates, and every other node keeps its access control. If you specify it, it replaces the access control of every node that the change set writes, and an absent or empty accessControlList lets nobody read them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessControlConfig

      default CreateChangeSetRequest.Builder accessControlConfig(Consumer<AccessControlConfig.Builder> accessControlConfig)

      Who can read the nodes that this change set writes. AWS Context refuses it on a change set that only deletes. If you omit it, every reader of the agent context can read a node that the change creates, and every other node keeps its access control. If you specify it, it replaces the access control of every node that the change set writes, and an absent or empty accessControlList lets nobody read them.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accessControlConfig(AccessControlConfig).

      Parameters:
      accessControlConfig - a consumer that will call methods on AccessControlConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • agentContextId

      CreateChangeSetRequest.Builder agentContextId(String agentContextId)

      The agent context to change, by its ID or ARN.

      Parameters:
      agentContextId - The agent context to change, by its ID or ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operations

      The operations to write, each a ChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails with ValidationException.

      Parameters:
      operations - The operations to write, each a ChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operations

      The operations to write, each a ChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails with ValidationException.

      Parameters:
      operations - The operations to write, each a ChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operations

      The operations to write, each a ChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails with ValidationException.

      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 operations(List<ChangeSetOperation>).

      Parameters:
      operations - 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

      CreateChangeSetRequest.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.