Interface ResourceChange.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceChange.Builder,
,ResourceChange> SdkBuilder<ResourceChange.Builder,
,ResourceChange> SdkPojo
- Enclosing class:
ResourceChange
-
Method Summary
Modifier and TypeMethodDescriptionThe change action.action
(ChangeAction action) The change action.details
(Collection<ResourceChangeDetail> details) Information about the resource changes.details
(Consumer<ResourceChangeDetail.Builder>... details) Information about the resource changes.details
(ResourceChangeDetail... details) Information about the resource changes.logicalResourceId
(String logicalResourceId) The ID of the resource, as defined in the CloudFormation template.physicalResourceId
(String physicalResourceId) The ID of the resource, if it was already created.replacement
(String replacement) If the change type isModify
, indicates whether the existing resource is deleted and replaced with a new one.replacement
(Replacement replacement) If the change type isModify
, indicates whether the existing resource is deleted and replaced with a new one.resourceType
(String resourceType) The type of resource.scope
(Collection<ResourceAttribute> scope) The change scope.scope
(ResourceAttribute... scope) The change scope.scopeWithStrings
(String... scope) The change scope.scopeWithStrings
(Collection<String> scope) The change scope.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, sdkFields
-
Method Details
-
action
The change action.
- Parameters:
action
- The change action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The change action.
- Parameters:
action
- The change action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logicalResourceId
The ID of the resource, as defined in the CloudFormation template.
- Parameters:
logicalResourceId
- The ID of the resource, as defined in the CloudFormation template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalResourceId
The ID of the resource, if it was already created.
- Parameters:
physicalResourceId
- The ID of the resource, if it was already created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource.
- Parameters:
resourceType
- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replacement
If the change type is
Modify
, indicates whether the existing resource is deleted and replaced with a new one.- Parameters:
replacement
- If the change type isModify
, indicates whether the existing resource is deleted and replaced with a new one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replacement
If the change type is
Modify
, indicates whether the existing resource is deleted and replaced with a new one.- Parameters:
replacement
- If the change type isModify
, indicates whether the existing resource is deleted and replaced with a new one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopeWithStrings
The change scope.
- Parameters:
scope
- The change scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeWithStrings
The change scope.
- Parameters:
scope
- The change scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The change scope.
- Parameters:
scope
- The change scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The change scope.
- Parameters:
scope
- The change scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Information about the resource changes.
- Parameters:
details
- Information about the resource changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Information about the resource changes.
- Parameters:
details
- Information about the resource changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Information about the resource changes.
This is a convenience method that creates an instance of theResourceChangeDetail.Builder
avoiding the need to create one manually viaResourceChangeDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(List<ResourceChangeDetail>)
.- Parameters:
details
- a consumer that will call methods onResourceChangeDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-