Interface StackRefactorAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StackRefactorAction.Builder,
,StackRefactorAction> SdkBuilder<StackRefactorAction.Builder,
,StackRefactorAction> SdkPojo
- Enclosing class:
StackRefactorAction
-
Method Summary
Modifier and TypeMethodDescriptionThe action that CloudFormation takes on the stack.action
(StackRefactorActionType action) The action that CloudFormation takes on the stack.description
(String description) A description to help you identify the refactor.The detection type is one of the following:detection
(StackRefactorDetection detection) The detection type is one of the following:detectionReason
(String detectionReason) The description of the detection type.The type that will be evaluated in theStackRefactorAction
.entity
(StackRefactorActionEntity entity) The type that will be evaluated in theStackRefactorAction
.physicalResourceId
(String physicalResourceId) The name or unique identifier associated with the physical instance of the resource.resourceIdentifier
(String resourceIdentifier) A key-value pair that identifies the target resource.default StackRefactorAction.Builder
resourceMapping
(Consumer<ResourceMapping.Builder> resourceMapping) The mapping for the stack resourceSource
and stack resourceDestination
.resourceMapping
(ResourceMapping resourceMapping) The mapping for the stack resourceSource
and stack resourceDestination
.tagResources
(Collection<Tag> tagResources) Assigns one or more tags to specified resources.tagResources
(Consumer<Tag.Builder>... tagResources) Assigns one or more tags to specified resources.tagResources
(Tag... tagResources) Assigns one or more tags to specified resources.untagResources
(String... untagResources) Removes one or more tags to specified resources.untagResources
(Collection<String> untagResources) Removes one or more tags to specified resources.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
-
action
The action that CloudFormation takes on the stack.
- Parameters:
action
- The action that CloudFormation takes on the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action that CloudFormation takes on the stack.
- Parameters:
action
- The action that CloudFormation takes on the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entity
The type that will be evaluated in the
StackRefactorAction
. The following are potentialEntity
types:-
Stack
-
Resource
- Parameters:
entity
- The type that will be evaluated in theStackRefactorAction
. The following are potentialEntity
types:-
Stack
-
Resource
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
entity
The type that will be evaluated in the
StackRefactorAction
. The following are potentialEntity
types:-
Stack
-
Resource
- Parameters:
entity
- The type that will be evaluated in theStackRefactorAction
. The following are potentialEntity
types:-
Stack
-
Resource
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
physicalResourceId
The name or unique identifier associated with the physical instance of the resource.
- Parameters:
physicalResourceId
- The name or unique identifier associated with the physical instance of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
A key-value pair that identifies the target resource. The key is an identifier property (for example,
BucketName
forAWS::S3::Bucket
resources) and the value is the actual property value (for example,MyS3Bucket
).- Parameters:
resourceIdentifier
- A key-value pair that identifies the target resource. The key is an identifier property (for example,BucketName
forAWS::S3::Bucket
resources) and the value is the actual property value (for example,MyS3Bucket
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description to help you identify the refactor.
- Parameters:
description
- A description to help you identify the refactor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detection
The detection type is one of the following:
-
Auto: CloudFormation figured out the mapping on its own.
-
Manual: The customer provided the mapping in the
ResourceMapping
parameter.
- Parameters:
detection
- The detection type is one of the following:-
Auto: CloudFormation figured out the mapping on its own.
-
Manual: The customer provided the mapping in the
ResourceMapping
parameter.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
detection
The detection type is one of the following:
-
Auto: CloudFormation figured out the mapping on its own.
-
Manual: The customer provided the mapping in the
ResourceMapping
parameter.
- Parameters:
detection
- The detection type is one of the following:-
Auto: CloudFormation figured out the mapping on its own.
-
Manual: The customer provided the mapping in the
ResourceMapping
parameter.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
detectionReason
The description of the detection type.
- Parameters:
detectionReason
- The description of the detection type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagResources
Assigns one or more tags to specified resources.
- Parameters:
tagResources
- Assigns one or more tags to specified resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagResources
Assigns one or more tags to specified resources.
- Parameters:
tagResources
- Assigns one or more tags to specified resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagResources
Assigns one or more tags to specified resources.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagResources(List<Tag>)
.- Parameters:
tagResources
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
untagResources
Removes one or more tags to specified resources.
- Parameters:
untagResources
- Removes one or more tags to specified resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
untagResources
Removes one or more tags to specified resources.
- Parameters:
untagResources
- Removes one or more tags to specified resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMapping
The mapping for the stack resource
Source
and stack resourceDestination
.- Parameters:
resourceMapping
- The mapping for the stack resourceSource
and stack resourceDestination
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMapping
default StackRefactorAction.Builder resourceMapping(Consumer<ResourceMapping.Builder> resourceMapping) The mapping 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 toresourceMapping(ResourceMapping)
.- Parameters:
resourceMapping
- 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:
-