Interface CreateStackRefactorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<CreateStackRefactorRequest.Builder,,CreateStackRefactorRequest> SdkBuilder<CreateStackRefactorRequest.Builder,,CreateStackRefactorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateStackRefactorRequest
@Mutable
@NotThreadSafe
public static interface CreateStackRefactorRequest.Builder
extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<CreateStackRefactorRequest.Builder,CreateStackRefactorRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description to help you identify the stack refactor.enableStackCreation(Boolean enableStackCreation) Determines if a new stack is created with the refactor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceMappings(Collection<ResourceMapping> resourceMappings) The mappings for the stack resourceSourceand stack resourceDestination.resourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings) The mappings for the stack resourceSourceand stack resourceDestination.resourceMappings(ResourceMapping... resourceMappings) The mappings for the stack resourceSourceand stack resourceDestination.stackDefinitions(Collection<StackDefinition> stackDefinitions) The stacks being refactored.stackDefinitions(Consumer<StackDefinition.Builder>... stackDefinitions) The stacks being refactored.stackDefinitions(StackDefinition... stackDefinitions) The stacks being refactored.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.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
-
description
A description to help you identify the stack refactor.
- Parameters:
description- A description to help you identify the stack refactor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableStackCreation
Determines if a new stack is created with the refactor.
- Parameters:
enableStackCreation- Determines if a new stack is created with the refactor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
The mappings for the stack resource
Sourceand stack resourceDestination.- Parameters:
resourceMappings- The mappings for the stack resourceSourceand stack resourceDestination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
The mappings for the stack resource
Sourceand stack resourceDestination.- Parameters:
resourceMappings- The mappings for the stack resourceSourceand stack resourceDestination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
CreateStackRefactorRequest.Builder resourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings) The mappings for the stack resource
This is a convenience method that creates an instance of theSourceand stack resourceDestination.ResourceMapping.Builderavoiding the need to create one manually viaResourceMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceMappings(List<ResourceMapping>).- Parameters:
resourceMappings- a consumer that will call methods onResourceMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stackDefinitions
The stacks being refactored.
- Parameters:
stackDefinitions- The stacks being refactored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackDefinitions
The stacks being refactored.
- Parameters:
stackDefinitions- The stacks being refactored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackDefinitions
CreateStackRefactorRequest.Builder stackDefinitions(Consumer<StackDefinition.Builder>... stackDefinitions) The stacks being refactored.
This is a convenience method that creates an instance of theStackDefinition.Builderavoiding the need to create one manually viaStackDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostackDefinitions(List<StackDefinition>).- Parameters:
stackDefinitions- a consumer that will call methods onStackDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStackRefactorRequest.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
CreateStackRefactorRequest.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.
-