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 resourceSource
and stack resourceDestination
.resourceMappings
(Consumer<ResourceMapping.Builder>... resourceMappings) The mappings for the stack resourceSource
and stack resourceDestination
.resourceMappings
(ResourceMapping... resourceMappings) The mappings for the stack resourceSource
and 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
Source
and stack resourceDestination
.- Parameters:
resourceMappings
- The mappings for the stack resourceSource
and stack resourceDestination
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
The mappings for the stack resource
Source
and stack resourceDestination
.- Parameters:
resourceMappings
- The mappings for the stack resourceSource
and 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 theSource
and stack resourceDestination
.ResourceMapping.Builder
avoiding the need to create one manually viaResourceMapping.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaStackDefinition.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-