Interface Change.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Change.Builder,
,Change> SdkBuilder<Change.Builder,
,Change> SdkPojo
- Enclosing class:
Change
-
Method Summary
Modifier and TypeMethodDescriptionhookInvocationCount
(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.resourceChange
(ResourceChange resourceChange) AResourceChange
structure that describes the resource and action that CloudFormation will perform.The type of entity that CloudFormation changes.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, sdkFields
-
Method Details
-
type
The type of entity that CloudFormation changes. Currently, the only entity type is
Resource
.- Parameters:
type
- The type of entity that CloudFormation changes. Currently, the only entity type isResource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of entity that CloudFormation changes. Currently, the only entity type is
Resource
.- Parameters:
type
- The type of entity that CloudFormation changes. Currently, the only entity type isResource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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:
-