Interface AwsCloudFormationStackDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsCloudFormationStackDetails.Builder,
,AwsCloudFormationStackDetails> SdkBuilder<AwsCloudFormationStackDetails.Builder,
,AwsCloudFormationStackDetails> SdkPojo
- Enclosing class:
AwsCloudFormationStackDetails
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities
(String... capabilities) The capabilities allowed in the stack.capabilities
(Collection<String> capabilities) The capabilities allowed in the stack.creationTime
(String creationTime) The time at which the stack was created.description
(String description) A user-defined description associated with the stack.disableRollback
(Boolean disableRollback) Boolean to enable or disable rollback on stack creation failures.driftInformation
(Consumer<AwsCloudFormationStackDriftInformationDetails.Builder> driftInformation) Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.driftInformation
(AwsCloudFormationStackDriftInformationDetails driftInformation) Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.enableTerminationProtection
(Boolean enableTerminationProtection) Whether termination protection is enabled for the stack.lastUpdatedTime
(String lastUpdatedTime) The time the nested stack was last updated.notificationArns
(String... notificationArns) The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.notificationArns
(Collection<String> notificationArns) The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.A list of output structures.outputs
(Consumer<AwsCloudFormationStackOutputsDetails.Builder>... outputs) A list of output structures.outputs
(AwsCloudFormationStackOutputsDetails... outputs) A list of output structures.The ARN of an IAM role that's associated with the stack.Unique identifier of the stack.The name associated with the stack.stackStatus
(String stackStatus) Current status of the stack.stackStatusReason
(String stackStatusReason) Success or failure message associated with the stack status.timeoutInMinutes
(Integer timeoutInMinutes) The length of time, in minutes, that CloudFormation waits for the nested stack to reach theCREATE_COMPLETE
state.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
-
capabilities
The capabilities allowed in the stack.
- Parameters:
capabilities
- The capabilities allowed in the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
The capabilities allowed in the stack.
- Parameters:
capabilities
- The capabilities allowed in the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time at which the stack was created.
- Parameters:
creationTime
- The time at which the stack was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A user-defined description associated with the stack.
- Parameters:
description
- A user-defined description associated with the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableRollback
Boolean to enable or disable rollback on stack creation failures.
- Parameters:
disableRollback
- Boolean to enable or disable rollback on stack creation failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftInformation
AwsCloudFormationStackDetails.Builder driftInformation(AwsCloudFormationStackDriftInformationDetails driftInformation) Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.
- Parameters:
driftInformation
- Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftInformation
default AwsCloudFormationStackDetails.Builder driftInformation(Consumer<AwsCloudFormationStackDriftInformationDetails.Builder> driftInformation) Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.
This is a convenience method that creates an instance of theAwsCloudFormationStackDriftInformationDetails.Builder
avoiding the need to create one manually viaAwsCloudFormationStackDriftInformationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todriftInformation(AwsCloudFormationStackDriftInformationDetails)
.- Parameters:
driftInformation
- a consumer that will call methods onAwsCloudFormationStackDriftInformationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableTerminationProtection
AwsCloudFormationStackDetails.Builder enableTerminationProtection(Boolean enableTerminationProtection) Whether termination protection is enabled for the stack.
- Parameters:
enableTerminationProtection
- Whether termination protection is enabled for the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.
- Parameters:
lastUpdatedTime
- The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationArns
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
- Parameters:
notificationArns
- The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationArns
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
- Parameters:
notificationArns
- The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
AwsCloudFormationStackDetails.Builder outputs(Collection<AwsCloudFormationStackOutputsDetails> outputs) A list of output structures.
- Parameters:
outputs
- A list of output structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
A list of output structures.
- Parameters:
outputs
- A list of output structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
AwsCloudFormationStackDetails.Builder outputs(Consumer<AwsCloudFormationStackOutputsDetails.Builder>... outputs) A list of output structures.
This is a convenience method that creates an instance of theAwsCloudFormationStackOutputsDetails.Builder
avoiding the need to create one manually viaAwsCloudFormationStackOutputsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<AwsCloudFormationStackOutputsDetails>)
.- Parameters:
outputs
- a consumer that will call methods onAwsCloudFormationStackOutputsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of an IAM role that's associated with the stack.
- Parameters:
roleArn
- The ARN of an IAM role that's associated with the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackId
Unique identifier of the stack.
- Parameters:
stackId
- Unique identifier of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackName
The name associated with the stack.
- Parameters:
stackName
- The name associated with the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackStatus
Current status of the stack.
- Parameters:
stackStatus
- Current status of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackStatusReason
Success or failure message associated with the stack status.
- Parameters:
stackStatusReason
- Success or failure message associated with the stack status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutInMinutes
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE
state.- Parameters:
timeoutInMinutes
- The length of time, in minutes, that CloudFormation waits for the nested stack to reach theCREATE_COMPLETE
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-