public static interface CreateStackInstancesRequest.Builder extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<CreateStackInstancesRequest.Builder,CreateStackInstancesRequest>
Modifier and Type | Method and Description |
---|---|
CreateStackInstancesRequest.Builder |
accounts(Collection<String> accounts)
The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.
|
CreateStackInstancesRequest.Builder |
accounts(String... accounts)
The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.
|
CreateStackInstancesRequest.Builder |
operationId(String operationId)
The unique identifier for this stack set operation.
|
default CreateStackInstancesRequest.Builder |
operationPreferences(Consumer<StackSetOperationPreferences.Builder> operationPreferences)
Preferences for how AWS CloudFormation performs this stack set operation.
|
CreateStackInstancesRequest.Builder |
operationPreferences(StackSetOperationPreferences operationPreferences)
Preferences for how AWS CloudFormation performs this stack set operation.
|
CreateStackInstancesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateStackInstancesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateStackInstancesRequest.Builder |
parameterOverrides(Collection<Parameter> parameterOverrides)
A list of stack set parameters whose values you want to override in the selected stack instances.
|
CreateStackInstancesRequest.Builder |
parameterOverrides(Consumer<Parameter.Builder>... parameterOverrides)
A list of stack set parameters whose values you want to override in the selected stack instances.
|
CreateStackInstancesRequest.Builder |
parameterOverrides(Parameter... parameterOverrides)
A list of stack set parameters whose values you want to override in the selected stack instances.
|
CreateStackInstancesRequest.Builder |
regions(Collection<String> regions)
The names of one or more regions where you want to create stack instances using the specified AWS account(s).
|
CreateStackInstancesRequest.Builder |
regions(String... regions)
The names of one or more regions where you want to create stack instances using the specified AWS account(s).
|
CreateStackInstancesRequest.Builder |
stackSetName(String stackSetName)
The name or unique ID of the stack set that you want to create stack instances from.
|
build
overrideConfiguration
copy
applyMutation, build
CreateStackInstancesRequest.Builder stackSetName(String stackSetName)
The name or unique ID of the stack set that you want to create stack instances from.
stackSetName
- The name or unique ID of the stack set that you want to create stack instances from.CreateStackInstancesRequest.Builder accounts(Collection<String> accounts)
The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.
accounts
- The names of one or more AWS accounts that you want to create stack instances in the specified
region(s) for.CreateStackInstancesRequest.Builder accounts(String... accounts)
The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.
accounts
- The names of one or more AWS accounts that you want to create stack instances in the specified
region(s) for.CreateStackInstancesRequest.Builder regions(Collection<String> regions)
The names of one or more regions where you want to create stack instances using the specified AWS account(s).
regions
- The names of one or more regions where you want to create stack instances using the specified AWS
account(s).CreateStackInstancesRequest.Builder regions(String... regions)
The names of one or more regions where you want to create stack instances using the specified AWS account(s).
regions
- The names of one or more regions where you want to create stack instances using the specified AWS
account(s).CreateStackInstancesRequest.Builder parameterOverrides(Collection<Parameter> parameterOverrides)
A list of stack set parameters whose values you want to override in the selected stack instances.
Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance operations:
To override the current value for a parameter, include the parameter and specify its value.
To leave a parameter set to its present value, you can do one of the following:
Do not include the parameter in the list.
Include the parameter and specify UsePreviousValue
as true
. (You cannot specify
both a value and set UsePreviousValue
to true
.)
To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters.
To leave all parameters set to their present values, do not specify this property at all.
During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.
You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template.
parameterOverrides
- A list of stack set parameters whose values you want to override in the selected stack instances.
Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance operations:
To override the current value for a parameter, include the parameter and specify its value.
To leave a parameter set to its present value, you can do one of the following:
Do not include the parameter in the list.
Include the parameter and specify UsePreviousValue
as true
. (You cannot
specify both a value and set UsePreviousValue
to true
.)
To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters.
To leave all parameters set to their present values, do not specify this property at all.
During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.
You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template.
CreateStackInstancesRequest.Builder parameterOverrides(Parameter... parameterOverrides)
A list of stack set parameters whose values you want to override in the selected stack instances.
Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance operations:
To override the current value for a parameter, include the parameter and specify its value.
To leave a parameter set to its present value, you can do one of the following:
Do not include the parameter in the list.
Include the parameter and specify UsePreviousValue
as true
. (You cannot specify
both a value and set UsePreviousValue
to true
.)
To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters.
To leave all parameters set to their present values, do not specify this property at all.
During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.
You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template.
parameterOverrides
- A list of stack set parameters whose values you want to override in the selected stack instances.
Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance operations:
To override the current value for a parameter, include the parameter and specify its value.
To leave a parameter set to its present value, you can do one of the following:
Do not include the parameter in the list.
Include the parameter and specify UsePreviousValue
as true
. (You cannot
specify both a value and set UsePreviousValue
to true
.)
To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters.
To leave all parameters set to their present values, do not specify this property at all.
During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.
You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template.
CreateStackInstancesRequest.Builder parameterOverrides(Consumer<Parameter.Builder>... parameterOverrides)
A list of stack set parameters whose values you want to override in the selected stack instances.
Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance operations:
To override the current value for a parameter, include the parameter and specify its value.
To leave a parameter set to its present value, you can do one of the following:
Do not include the parameter in the list.
Include the parameter and specify UsePreviousValue
as true
. (You cannot specify
both a value and set UsePreviousValue
to true
.)
To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters.
To leave all parameters set to their present values, do not specify this property at all.
During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.
You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #parameterOverrides(List)
.parameterOverrides
- a consumer that will call methods on List.Builder
#parameterOverrides(List)
CreateStackInstancesRequest.Builder operationPreferences(StackSetOperationPreferences operationPreferences)
Preferences for how AWS CloudFormation performs this stack set operation.
operationPreferences
- Preferences for how AWS CloudFormation performs this stack set operation.default CreateStackInstancesRequest.Builder operationPreferences(Consumer<StackSetOperationPreferences.Builder> operationPreferences)
Preferences for how AWS CloudFormation performs this stack set operation.
This is a convenience that creates an instance of theStackSetOperationPreferences.Builder
avoiding
the need to create one manually via StackSetOperationPreferences.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to operationPreferences(StackSetOperationPreferences)
.operationPreferences
- a consumer that will call methods on StackSetOperationPreferences.Builder
operationPreferences(StackSetOperationPreferences)
CreateStackInstancesRequest.Builder operationId(String operationId)
The unique identifier for this stack set operation.
The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that AWS CloudFormation successfully received them.
If you don't specify an operation ID, the SDK generates one automatically.
Repeating this stack set operation with a new operation ID retries all stack instances whose status is
OUTDATED
.
operationId
- The unique identifier for this stack set operation.
The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that AWS CloudFormation successfully received them.
If you don't specify an operation ID, the SDK generates one automatically.
Repeating this stack set operation with a new operation ID retries all stack instances whose status is
OUTDATED
.
CreateStackInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateStackInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.