public static interface ResourceChange.Builder extends SdkPojo, CopyableBuilder<ResourceChange.Builder,ResourceChange>
Modifier and Type | Method and Description |
---|---|
ResourceChange.Builder |
action(ChangeAction action)
The change action.
|
ResourceChange.Builder |
action(String action)
The change action.
|
ResourceChange.Builder |
details(Collection<ResourceChangeDetail> details)
Information about the resource changes.
|
ResourceChange.Builder |
details(Consumer<ResourceChangeDetail.Builder>... details)
Information about the resource changes.
|
ResourceChange.Builder |
details(ResourceChangeDetail... details)
Information about the resource changes.
|
ResourceChange.Builder |
logicalResourceId(String logicalResourceId)
The ID of the resource, as defined in the CloudFormation template.
|
ResourceChange.Builder |
physicalResourceId(String physicalResourceId)
The ID of the resource, if it was already created.
|
ResourceChange.Builder |
replacement(Replacement replacement)
If the change type is
Modify , indicates whether the existing resource is deleted and replaced
with a new one. |
ResourceChange.Builder |
replacement(String replacement)
If the change type is
Modify , indicates whether the existing resource is deleted and replaced
with a new one. |
ResourceChange.Builder |
resourceType(String resourceType)
The type of resource.
|
ResourceChange.Builder |
scope(Collection<ResourceAttribute> scope)
The change scope.
|
ResourceChange.Builder |
scope(ResourceAttribute... scope)
The change scope.
|
ResourceChange.Builder |
scopeWithStrings(Collection<String> scope)
The change scope.
|
ResourceChange.Builder |
scopeWithStrings(String... scope)
The change scope.
|
copy
applyMutation, build
ResourceChange.Builder action(String action)
The change action.
action
- The change action.ChangeAction
,
ChangeAction
ResourceChange.Builder action(ChangeAction action)
The change action.
action
- The change action.ChangeAction
,
ChangeAction
ResourceChange.Builder logicalResourceId(String logicalResourceId)
The ID of the resource, as defined in the CloudFormation template.
logicalResourceId
- The ID of the resource, as defined in the CloudFormation template.ResourceChange.Builder physicalResourceId(String physicalResourceId)
The ID of the resource, if it was already created.
physicalResourceId
- The ID of the resource, if it was already created.ResourceChange.Builder resourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.ResourceChange.Builder replacement(String replacement)
If the change type is Modify
, indicates whether the existing resource is deleted and replaced
with a new one.
replacement
- If the change type is Modify
, indicates whether the existing resource is deleted and
replaced with a new one.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.
replacement
- If the change type is Modify
, indicates whether the existing resource is deleted and
replaced with a new one.Replacement
,
Replacement
ResourceChange.Builder scopeWithStrings(Collection<String> scope)
The change scope.
scope
- The change scope.ResourceChange.Builder scopeWithStrings(String... scope)
The change scope.
scope
- The change scope.ResourceChange.Builder scope(Collection<ResourceAttribute> scope)
The change scope.
scope
- The change scope.ResourceChange.Builder scope(ResourceAttribute... scope)
The change scope.
scope
- The change scope.ResourceChange.Builder details(Collection<ResourceChangeDetail> details)
Information about the resource changes.
details
- Information about the resource changes.ResourceChange.Builder details(ResourceChangeDetail... details)
Information about the resource changes.
details
- Information about the resource changes.ResourceChange.Builder details(Consumer<ResourceChangeDetail.Builder>... details)
Information about the resource changes.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #details(List)
.details
- a consumer that will call methods on List.Builder
#details(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.