Interface Change.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Change.Builder,Change>
,SdkBuilder<Change.Builder,Change>
,SdkPojo
- Enclosing class:
- Change
public static interface Change.Builder extends SdkPojo, CopyableBuilder<Change.Builder,Change>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Change.Builder
hookInvocationCount(Integer hookInvocationCount)
Is eithernull
, if no hooks invoke for the resource, or contains the number of hooks that will invoke for the resource.default Change.Builder
resourceChange(Consumer<ResourceChange.Builder> resourceChange)
AResourceChange
structure that describes the resource and action that CloudFormation will perform.Change.Builder
resourceChange(ResourceChange resourceChange)
AResourceChange
structure that describes the resource and action that CloudFormation will perform.Change.Builder
type(String type)
The type of entity that CloudFormation changes.Change.Builder
type(ChangeType type)
The type of entity that CloudFormation changes.-
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 Detail
-
type
Change.Builder type(String type)
The type of entity that CloudFormation changes.
-
Resource
This change is for a resource.
- Parameters:
type
- The type of entity that CloudFormation changes.-
Resource
This change is for a resource.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeType
,ChangeType
-
-
type
Change.Builder type(ChangeType type)
The type of entity that CloudFormation changes.
-
Resource
This change is for a resource.
- Parameters:
type
- The type of entity that CloudFormation changes.-
Resource
This change is for a resource.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeType
,ChangeType
-
-
hookInvocationCount
Change.Builder hookInvocationCount(Integer hookInvocationCount)
Is either
null
, if no hooks invoke for the resource, or contains the number of hooks that will invoke for the resource.- Parameters:
hookInvocationCount
- Is eithernull
, if no hooks invoke for the resource, or contains the number of hooks that will invoke for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceChange
Change.Builder resourceChange(ResourceChange resourceChange)
A
ResourceChange
structure that describes the resource and action that CloudFormation will perform.- Parameters:
resourceChange
- AResourceChange
structure that describes the resource and action that CloudFormation will perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceChange
default Change.Builder resourceChange(Consumer<ResourceChange.Builder> resourceChange)
A
This is a convenience method that creates an instance of theResourceChange
structure that describes the resource and action that CloudFormation will perform.ResourceChange.Builder
avoiding the need to create one manually viaResourceChange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceChange(ResourceChange)
.- Parameters:
resourceChange
- a consumer that will call methods onResourceChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceChange(ResourceChange)
-
-