Interface CreateChangeSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<CreateChangeSetRequest.Builder,,CreateChangeSetRequest> SdkBuilder<CreateChangeSetRequest.Builder,,CreateChangeSetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateChangeSetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateChangeSetRequest.BuilderaccessControlConfig(Consumer<AccessControlConfig.Builder> accessControlConfig) Who can read the nodes that this change set writes.accessControlConfig(AccessControlConfig accessControlConfig) Who can read the nodes that this change set writes.agentContextId(String agentContextId) The agent context to change, by its ID or ARN.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to make the request idempotent.operations(Collection<ChangeSetOperation> operations) The operations to write, each aChangeSetOperation, from 1 to 1,000.operations(Consumer<ChangeSetOperation.Builder>... operations) The operations to write, each aChangeSetOperation, from 1 to 1,000.operations(ChangeSetOperation... operations) The operations to write, each aChangeSetOperation, from 1 to 1,000.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
-
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
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
accessControlListlets 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 emptyaccessControlListlets 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
This is a convenience method that creates an instance of theaccessControlListlets nobody read them.AccessControlConfig.Builderavoiding the need to create one manually viaAccessControlConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessControlConfig(AccessControlConfig).- Parameters:
accessControlConfig- a consumer that will call methods onAccessControlConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 withValidationException.- Parameters:
operations- The operations to write, each aChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails withValidationException.- 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 withValidationException.- Parameters:
operations- The operations to write, each aChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails withValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
The operations to write, each a
This is a convenience method that creates an instance of theChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails withValidationException.ChangeSetOperation.Builderavoiding the need to create one manually viaChangeSetOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperations(List<ChangeSetOperation>).- Parameters:
operations- 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
CreateChangeSetRequest.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
CreateChangeSetRequest.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.
-