@Generated(value="software.amazon.awssdk:codegen") public final class CreateStackInstancesRequest extends CloudFormationRequest implements ToCopyableBuilder<CreateStackInstancesRequest.Builder,CreateStackInstancesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateStackInstancesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
accounts()
The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.
|
static CreateStackInstancesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
operationId()
The unique identifier for this stack set operation.
|
StackSetOperationPreferences |
operationPreferences()
Preferences for how AWS CloudFormation performs this stack set operation.
|
List<Parameter> |
parameterOverrides()
A list of stack set parameters whose values you want to override in the selected stack instances.
|
List<String> |
regions()
The names of one or more regions where you want to create stack instances using the specified AWS account(s).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateStackInstancesRequest.Builder> |
serializableBuilderClass() |
String |
stackSetName()
The name or unique ID of the stack set that you want to create stack instances from.
|
CreateStackInstancesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String stackSetName()
The name or unique ID of the stack set that you want to create stack instances from.
public List<String> accounts()
The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> regions()
The names of one or more regions where you want to create stack instances using the specified AWS account(s).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
public StackSetOperationPreferences operationPreferences()
Preferences for how AWS CloudFormation performs this stack set operation.
public 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
.
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
.
public CreateStackInstancesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateStackInstancesRequest.Builder,CreateStackInstancesRequest>
toBuilder
in class CloudFormationRequest
public static CreateStackInstancesRequest.Builder builder()
public static Class<? extends CreateStackInstancesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.