Interface StackSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StackSummary.Builder,
,StackSummary> SdkBuilder<StackSummary.Builder,
,StackSummary> SdkPojo
- Enclosing class:
StackSummary
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time the stack was created.deletionTime
(Instant deletionTime) The time the stack was deleted.default StackSummary.Builder
driftInformation
(Consumer<StackDriftInformationSummary.Builder> driftInformation) Summarizes 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
(StackDriftInformationSummary driftInformation) Summarizes 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.lastUpdatedTime
(Instant lastUpdatedTime) The time the stack was last updated.For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack.For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.Unique stack identifier.The name associated with the stack.stackStatus
(String stackStatus) The current status of the stack.stackStatus
(StackStatus stackStatus) The current status of the stack.stackStatusReason
(String stackStatusReason) Success/Failure message associated with the stack status.templateDescription
(String templateDescription) The template description of the template used to create the stack.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
-
stackId
Unique stack identifier.
- Parameters:
stackId
- Unique stack identifier.- 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.
-
templateDescription
The template description of the template used to create the stack.
- Parameters:
templateDescription
- The template description of the template used to create the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time the stack was created.
- Parameters:
creationTime
- The time the stack was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
- Parameters:
lastUpdatedTime
- The time the 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.
-
deletionTime
The time the stack was deleted.
- Parameters:
deletionTime
- The time the stack was deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackStatus
The current status of the stack.
- Parameters:
stackStatus
- The current status of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stackStatus
The current status of the stack.
- Parameters:
stackStatus
- The current status of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stackStatusReason
Success/Failure message associated with the stack status.
- Parameters:
stackStatusReason
- Success/Failure message associated with the stack status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 CloudFormation User Guide.
- Parameters:
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 CloudFormation User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootId
For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
- Parameters:
rootId
- For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.For more information, see Working with Nested Stacks in the CloudFormation User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftInformation
Summarizes 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. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
- Parameters:
driftInformation
- Summarizes 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. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftInformation
default StackSummary.Builder driftInformation(Consumer<StackDriftInformationSummary.Builder> driftInformation) Summarizes 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. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
This is a convenience method that creates an instance of theStackDriftInformationSummary.Builder
avoiding the need to create one manually viaStackDriftInformationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todriftInformation(StackDriftInformationSummary)
.- Parameters:
driftInformation
- a consumer that will call methods onStackDriftInformationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-