public static interface Stack.Builder extends CopyableBuilder<Stack.Builder,Stack>
Modifier and Type | Method and Description |
---|---|
Stack.Builder |
capabilities(Capability... capabilities)
The capabilities allowed in the stack.
|
Stack.Builder |
capabilities(Collection<Capability> capabilities)
The capabilities allowed in the stack.
|
Stack.Builder |
capabilitiesWithStrings(Collection<String> capabilities)
The capabilities allowed in the stack.
|
Stack.Builder |
capabilitiesWithStrings(String... capabilities)
The capabilities allowed in the stack.
|
Stack.Builder |
changeSetId(String changeSetId)
The unique ID of the change set.
|
Stack.Builder |
creationTime(Instant creationTime)
The time at which the stack was created.
|
Stack.Builder |
deletionTime(Instant deletionTime)
The time the stack was deleted.
|
Stack.Builder |
description(String description)
A user-defined description associated with the stack.
|
Stack.Builder |
disableRollback(Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
|
Stack.Builder |
enableTerminationProtection(Boolean enableTerminationProtection)
Whether termination protection is enabled for the stack.
|
Stack.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The time the stack was last updated.
|
Stack.Builder |
notificationARNs(Collection<String> notificationARNs)
SNS topic ARNs to which stack related events are published.
|
Stack.Builder |
notificationARNs(String... notificationARNs)
SNS topic ARNs to which stack related events are published.
|
Stack.Builder |
outputs(Collection<Output> outputs)
A list of output structures.
|
Stack.Builder |
outputs(Consumer<Output.Builder>... outputs)
A list of output structures.
|
Stack.Builder |
outputs(Output... outputs)
A list of output structures.
|
Stack.Builder |
parameters(Collection<Parameter> parameters)
A list of
Parameter structures. |
Stack.Builder |
parameters(Consumer<Parameter.Builder>... parameters)
A list of
Parameter structures. |
Stack.Builder |
parameters(Parameter... parameters)
A list of
Parameter structures. |
Stack.Builder |
parentId(String parentId)
For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this
stack.
|
Stack.Builder |
roleARN(String roleARN)
The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that is associated with
the stack.
|
default Stack.Builder |
rollbackConfiguration(Consumer<RollbackConfiguration.Builder> rollbackConfiguration)
The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and
for the specified monitoring period afterwards.
|
Stack.Builder |
rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and
for the specified monitoring period afterwards.
|
Stack.Builder |
rootId(String rootId)
For nested stacks--stacks created as resources for another stack--the stack ID of the the top-level stack to
which the nested stack ultimately belongs.
|
Stack.Builder |
stackId(String stackId)
Unique identifier of the stack.
|
Stack.Builder |
stackName(String stackName)
The name associated with the stack.
|
Stack.Builder |
stackStatus(StackStatus stackStatus)
Current status of the stack.
|
Stack.Builder |
stackStatus(String stackStatus)
Current status of the stack.
|
Stack.Builder |
stackStatusReason(String stackStatusReason)
Success/failure message associated with the stack status.
|
Stack.Builder |
tags(Collection<Tag> tags)
A list of
Tag s that specify information about the stack. |
Stack.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of
Tag s that specify information about the stack. |
Stack.Builder |
tags(Tag... tags)
A list of
Tag s that specify information about the stack. |
Stack.Builder |
timeoutInMinutes(Integer timeoutInMinutes)
The amount of time within which stack creation should complete.
|
copy
applyMutation, build
Stack.Builder stackId(String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.Stack.Builder stackName(String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.Stack.Builder changeSetId(String changeSetId)
The unique ID of the change set.
changeSetId
- The unique ID of the change set.Stack.Builder description(String description)
A user-defined description associated with the stack.
description
- A user-defined description associated with the stack.Stack.Builder parameters(Collection<Parameter> parameters)
A list of Parameter
structures.
parameters
- A list of Parameter
structures.Stack.Builder parameters(Parameter... parameters)
A list of Parameter
structures.
parameters
- A list of Parameter
structures.Stack.Builder parameters(Consumer<Parameter.Builder>... parameters)
A list of Parameter
structures.
List.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 #parameters(List)
.parameters
- a consumer that will call methods on List.Builder
#parameters(List)
Stack.Builder creationTime(Instant creationTime)
The time at which the stack was created.
creationTime
- The time at which the stack was created.Stack.Builder deletionTime(Instant deletionTime)
The time the stack was deleted.
deletionTime
- The time the stack was deleted.Stack.Builder lastUpdatedTime(Instant lastUpdatedTime)
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
lastUpdatedTime
- The time the stack was last updated. This field will only be returned if the stack has been updated at
least once.Stack.Builder rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
rollbackConfiguration
- The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations,
and for the specified monitoring period afterwards.default Stack.Builder rollbackConfiguration(Consumer<RollbackConfiguration.Builder> rollbackConfiguration)
The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
This is a convenience that creates an instance of theRollbackConfiguration.Builder
avoiding the need
to create one manually via RollbackConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to rollbackConfiguration(RollbackConfiguration)
.rollbackConfiguration
- a consumer that will call methods on RollbackConfiguration.Builder
rollbackConfiguration(RollbackConfiguration)
Stack.Builder stackStatus(String stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.StackStatus
,
StackStatus
Stack.Builder stackStatus(StackStatus stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.StackStatus
,
StackStatus
Stack.Builder stackStatusReason(String stackStatusReason)
Success/failure message associated with the stack status.
stackStatusReason
- Success/failure message associated with the stack status.Stack.Builder disableRollback(Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback
false
: enable rollback
disableRollback
- Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback
false
: enable rollback
Stack.Builder notificationARNs(Collection<String> notificationARNs)
SNS topic ARNs to which stack related events are published.
notificationARNs
- SNS topic ARNs to which stack related events are published.Stack.Builder notificationARNs(String... notificationARNs)
SNS topic ARNs to which stack related events are published.
notificationARNs
- SNS topic ARNs to which stack related events are published.Stack.Builder timeoutInMinutes(Integer timeoutInMinutes)
The amount of time within which stack creation should complete.
timeoutInMinutes
- The amount of time within which stack creation should complete.Stack.Builder capabilitiesWithStrings(Collection<String> capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Stack.Builder capabilitiesWithStrings(String... capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Stack.Builder capabilities(Collection<Capability> capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Stack.Builder capabilities(Capability... capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Stack.Builder outputs(Collection<Output> outputs)
A list of output structures.
outputs
- A list of output structures.Stack.Builder outputs(Output... outputs)
A list of output structures.
outputs
- A list of output structures.Stack.Builder outputs(Consumer<Output.Builder>... outputs)
A list of output structures.
This is a convenience that creates an instance of theList
avoiding the need to
create one manually via List
.
When the Consumer
completes, List
is called immediately and its
result is passed to #outputs(List
.outputs
- a consumer that will call methods on List
#outputs(List
Stack.Builder roleARN(String roleARN)
The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, AWS CloudFormation uses this role's credentials to make calls on your behalf.
roleARN
- The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that is associated
with the stack. During a stack operation, AWS CloudFormation uses this role's credentials to make
calls on your behalf.Stack.Builder tags(Collection<Tag> tags)
A list of Tag
s that specify information about the stack.
tags
- A list of Tag
s that specify information about the stack.Stack.Builder tags(Tag... tags)
A list of Tag
s that specify information about the stack.
tags
- A list of Tag
s that specify information about the stack.Stack.Builder tags(Consumer<Tag.Builder>... tags)
A list of Tag
s that specify information about the stack.
List.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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Stack.Builder enableTerminationProtection(Boolean enableTerminationProtection)
Whether termination protection is enabled for the stack.
For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the AWS CloudFormation User Guide.
enableTerminationProtection
- Whether termination protection is enabled for the stack.
For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the AWS CloudFormation User Guide.
Stack.Builder parentId(String parentId)
For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Working with Nested Stacks in the AWS CloudFormation User Guide.
parentId
- For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of
this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Working with Nested Stacks in the AWS CloudFormation User Guide.
Stack.Builder rootId(String rootId)
For nested stacks--stacks created as resources for another stack--the stack ID of the the top-level stack to which the nested stack ultimately belongs.
For more information, see Working with Nested Stacks in the AWS CloudFormation User Guide.
rootId
- For nested stacks--stacks created as resources for another stack--the stack ID of the the top-level
stack to which the nested stack ultimately belongs.
For more information, see Working with Nested Stacks in the AWS CloudFormation User Guide.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.