CopyableBuilder<Stack.Builder,Stack>
, SdkBuilder<Stack.Builder,Stack>
public static interface Stack.Builder extends CopyableBuilder<Stack.Builder,Stack>
Modifier and Type | Method | Description |
---|---|---|
Stack.Builder |
capabilities(String... capabilities) |
The capabilities allowed in the stack.
|
Stack.Builder |
capabilities(Collection<String> capabilities) |
The capabilities allowed in the stack.
|
Stack.Builder |
capabilities(Capability... capabilities) |
The capabilities allowed in the stack.
|
Stack.Builder |
changeSetId(String changeSetId) |
The unique ID of the change set.
|
Stack.Builder |
creationTime(Date creationTime) |
The time at which the stack was created.
|
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 |
lastUpdatedTime(Date lastUpdatedTime) |
The time the stack was last updated.
|
Stack.Builder |
notificationARNs(String... notificationARNs) |
SNS topic ARNs to which stack related events are published.
|
Stack.Builder |
notificationARNs(Collection<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(Output... outputs) |
A list of output structures.
|
Stack.Builder |
parameters(Collection<Parameter> parameters) |
A list of
Parameter structures. |
Stack.Builder |
parameters(Parameter... parameters) |
A list of
Parameter structures. |
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.
|
Stack.Builder |
stackId(String stackId) |
Unique identifier of the stack.
|
Stack.Builder |
stackName(String stackName) |
The name associated with the stack.
|
Stack.Builder |
stackStatus(String stackStatus) |
Current status of the stack.
|
Stack.Builder |
stackStatus(StackStatus 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(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
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setParameters(java.util.Collection)
or #withParameters(java.util.Collection)
if you want to
override the existing values.
parameters
- A list of Parameter
structures.Stack.Builder creationTime(Date creationTime)
The time at which the stack was created.
creationTime
- The time at which the stack was created.Stack.Builder lastUpdatedTime(Date 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 stackStatus(String stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.StackStatus
Stack.Builder stackStatus(StackStatus stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.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.
NOTE: This method appends the values to the existing list (if any). Use
#setNotificationARNs(java.util.Collection)
or #withNotificationARNs(java.util.Collection)
if
you want to override the existing values.
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 capabilities(Collection<String> capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Capability
Stack.Builder capabilities(String... capabilities)
The capabilities allowed in the stack.
NOTE: This method appends the values to the existing list (if any). Use
#setCapabilities(java.util.Collection)
or #withCapabilities(java.util.Collection)
if you want
to override the existing values.
capabilities
- The capabilities allowed in the stack.Capability
Stack.Builder capabilities(Capability... capabilities)
The capabilities allowed in the stack.
NOTE: This method appends the values to the existing list (if any). Use
#setCapabilities(java.util.Collection)
or #withCapabilities(java.util.Collection)
if you want
to override the existing values.
capabilities
- The capabilities allowed in the stack.Capability
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.
NOTE: This method appends the values to the existing list (if any). Use
#setOutputs(java.util.Collection)
or #withOutputs(java.util.Collection)
if you want to
override the existing values.
outputs
- A list of output structures.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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of Tag
s that specify information about the stack.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.