Interface ResourceChange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceChange.Builder,ResourceChange>,SdkBuilder<ResourceChange.Builder,ResourceChange>,SdkPojo
- Enclosing class:
- ResourceChange
public static interface ResourceChange.Builder extends SdkPojo, CopyableBuilder<ResourceChange.Builder,ResourceChange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceChange.Builderaction(String action)The change action.ResourceChange.Builderaction(ChangeAction action)The change action.ResourceChange.Builderdetails(Collection<ResourceChangeDetail> details)Information about the resource changes.ResourceChange.Builderdetails(Consumer<ResourceChangeDetail.Builder>... details)Information about the resource changes.ResourceChange.Builderdetails(ResourceChangeDetail... details)Information about the resource changes.ResourceChange.BuilderlogicalResourceId(String logicalResourceId)The ID of the resource, as defined in the CloudFormation template.ResourceChange.BuilderphysicalResourceId(String physicalResourceId)The ID of the resource, if it was already created.ResourceChange.Builderreplacement(String replacement)If the change type isModify, indicates whether the existing resource is deleted and replaced with a new one.ResourceChange.Builderreplacement(Replacement replacement)If the change type isModify, indicates whether the existing resource is deleted and replaced with a new one.ResourceChange.BuilderresourceType(String resourceType)The type of resource.ResourceChange.Builderscope(Collection<ResourceAttribute> scope)The change scope.ResourceChange.Builderscope(ResourceAttribute... scope)The change scope.ResourceChange.BuilderscopeWithStrings(String... scope)The change scope.ResourceChange.BuilderscopeWithStrings(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 Detail
-
action
ResourceChange.Builder action(String 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:
ChangeAction,ChangeAction
-
action
ResourceChange.Builder action(ChangeAction 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:
ChangeAction,ChangeAction
-
logicalResourceId
ResourceChange.Builder logicalResourceId(String 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
ResourceChange.Builder physicalResourceId(String 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
ResourceChange.Builder resourceType(String 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
ResourceChange.Builder replacement(String 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,Replacement
-
replacement
ResourceChange.Builder replacement(Replacement 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,Replacement
-
scopeWithStrings
ResourceChange.Builder scopeWithStrings(Collection<String> scope)
The change scope.
- Parameters:
scope- The change scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeWithStrings
ResourceChange.Builder scopeWithStrings(String... 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
ResourceChange.Builder scope(Collection<ResourceAttribute> 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
ResourceChange.Builder scope(ResourceAttribute... 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
ResourceChange.Builder details(Collection<ResourceChangeDetail> 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
ResourceChange.Builder details(ResourceChangeDetail... 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
ResourceChange.Builder details(Consumer<ResourceChangeDetail.Builder>... details)
Information about the resource changes.
This is a convenience method that creates an instance of theResourceChangeDetail.Builderavoiding the need to create one manually viaResourceChangeDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#details(List.) - 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:
#details(java.util.Collection)
-
-