Interface AwsCloudFormationStackDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsCloudFormationStackDetails.Builder,AwsCloudFormationStackDetails>,SdkBuilder<AwsCloudFormationStackDetails.Builder,AwsCloudFormationStackDetails>,SdkPojo
- Enclosing class:
- AwsCloudFormationStackDetails
public static interface AwsCloudFormationStackDetails.Builder extends SdkPojo, CopyableBuilder<AwsCloudFormationStackDetails.Builder,AwsCloudFormationStackDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsCloudFormationStackDetails.Buildercapabilities(String... capabilities)The capabilities allowed in the stack.AwsCloudFormationStackDetails.Buildercapabilities(Collection<String> capabilities)The capabilities allowed in the stack.AwsCloudFormationStackDetails.BuildercreationTime(String creationTime)The time at which the stack was created.AwsCloudFormationStackDetails.Builderdescription(String description)A user-defined description associated with the stack.AwsCloudFormationStackDetails.BuilderdisableRollback(Boolean disableRollback)Boolean to enable or disable rollback on stack creation failures.default AwsCloudFormationStackDetails.BuilderdriftInformation(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.AwsCloudFormationStackDetails.BuilderdriftInformation(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.AwsCloudFormationStackDetails.BuilderenableTerminationProtection(Boolean enableTerminationProtection)Whether termination protection is enabled for the stack.AwsCloudFormationStackDetails.BuilderlastUpdatedTime(String lastUpdatedTime)The time the nested stack was last updated.AwsCloudFormationStackDetails.BuildernotificationArns(String... notificationArns)The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.AwsCloudFormationStackDetails.BuildernotificationArns(Collection<String> notificationArns)The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.AwsCloudFormationStackDetails.Builderoutputs(Collection<AwsCloudFormationStackOutputsDetails> outputs)A list of output structures.AwsCloudFormationStackDetails.Builderoutputs(Consumer<AwsCloudFormationStackOutputsDetails.Builder>... outputs)A list of output structures.AwsCloudFormationStackDetails.Builderoutputs(AwsCloudFormationStackOutputsDetails... outputs)A list of output structures.AwsCloudFormationStackDetails.BuilderroleArn(String roleArn)The ARN of an IAM role that's associated with the stack.AwsCloudFormationStackDetails.BuilderstackId(String stackId)Unique identifier of the stack.AwsCloudFormationStackDetails.BuilderstackName(String stackName)The name associated with the stack.AwsCloudFormationStackDetails.BuilderstackStatus(String stackStatus)Current status of the stack.AwsCloudFormationStackDetails.BuilderstackStatusReason(String stackStatusReason)Success or failure message associated with the stack status.AwsCloudFormationStackDetails.BuildertimeoutInMinutes(Integer timeoutInMinutes)The length of time, in minutes, that CloudFormation waits for the nested stack to reach theCREATE_COMPLETEstate.-
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 Detail
-
capabilities
AwsCloudFormationStackDetails.Builder capabilities(Collection<String> 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
AwsCloudFormationStackDetails.Builder capabilities(String... 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
AwsCloudFormationStackDetails.Builder creationTime(String 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
AwsCloudFormationStackDetails.Builder description(String 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
AwsCloudFormationStackDetails.Builder disableRollback(Boolean 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.Builderavoiding the need to create one manually viaAwsCloudFormationStackDriftInformationDetails.builder().When the
Consumercompletes,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:
driftInformation(AwsCloudFormationStackDriftInformationDetails)
-
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
AwsCloudFormationStackDetails.Builder lastUpdatedTime(String 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
AwsCloudFormationStackDetails.Builder notificationArns(Collection<String> 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
AwsCloudFormationStackDetails.Builder notificationArns(String... 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
AwsCloudFormationStackDetails.Builder outputs(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
AwsCloudFormationStackDetails.Builder outputs(Consumer<AwsCloudFormationStackOutputsDetails.Builder>... outputs)
A list of output structures.
This is a convenience method that creates an instance of theAwsCloudFormationStackOutputsDetails.Builderavoiding the need to create one manually viaAwsCloudFormationStackOutputsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputs(List.) - 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:
#outputs(java.util.Collection)
-
roleArn
AwsCloudFormationStackDetails.Builder roleArn(String 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
AwsCloudFormationStackDetails.Builder stackId(String 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
AwsCloudFormationStackDetails.Builder stackName(String 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
AwsCloudFormationStackDetails.Builder stackStatus(String 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
AwsCloudFormationStackDetails.Builder stackStatusReason(String 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
AwsCloudFormationStackDetails.Builder timeoutInMinutes(Integer timeoutInMinutes)
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETEstate.- Parameters:
timeoutInMinutes- The length of time, in minutes, that CloudFormation waits for the nested stack to reach theCREATE_COMPLETEstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-