Interface StackResourceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StackResourceSummary.Builder,
,StackResourceSummary> SdkBuilder<StackResourceSummary.Builder,
,StackResourceSummary> SdkPojo
- Enclosing class:
StackResourceSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault StackResourceSummary.Builder
driftInformation
(Consumer<StackResourceDriftInformationSummary.Builder> driftInformation) Information about whether the resource'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
(StackResourceDriftInformationSummary driftInformation) Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.lastUpdatedTimestamp
(Instant lastUpdatedTimestamp) Time the status was updated.logicalResourceId
(String logicalResourceId) The logical name of the resource specified in the template.default StackResourceSummary.Builder
moduleInfo
(Consumer<ModuleInfo.Builder> moduleInfo) Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.moduleInfo
(ModuleInfo moduleInfo) Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.physicalResourceId
(String physicalResourceId) The name or unique identifier that corresponds to a physical instance ID of the resource.resourceStatus
(String resourceStatus) Current status of the resource.resourceStatus
(ResourceStatus resourceStatus) Current status of the resource.resourceStatusReason
(String resourceStatusReason) Success/failure message associated with the resource.resourceType
(String resourceType) Type of resource.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
-
logicalResourceId
The logical name of the resource specified in the template.
- Parameters:
logicalResourceId
- The logical name of the resource specified in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalResourceId
The name or unique identifier that corresponds to a physical instance ID of the resource.
- Parameters:
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
- Parameters:
resourceType
- Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimestamp
Time the status was updated.
- Parameters:
lastUpdatedTimestamp
- Time the status was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceStatus
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceStatus
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceStatusReason
Success/failure message associated with the resource.
- Parameters:
resourceStatusReason
- Success/failure message associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftInformation
StackResourceSummary.Builder driftInformation(StackResourceDriftInformationSummary driftInformation) Information about whether the resource'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
- Information about whether the resource'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 StackResourceSummary.Builder driftInformation(Consumer<StackResourceDriftInformationSummary.Builder> driftInformation) Information about whether the resource'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 theStackResourceDriftInformationSummary.Builder
avoiding the need to create one manually viaStackResourceDriftInformationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todriftInformation(StackResourceDriftInformationSummary)
.- Parameters:
driftInformation
- a consumer that will call methods onStackResourceDriftInformationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
moduleInfo
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
- Parameters:
moduleInfo
- Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moduleInfo
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
This is a convenience method that creates an instance of theModuleInfo.Builder
avoiding the need to create one manually viaModuleInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomoduleInfo(ModuleInfo)
.- Parameters:
moduleInfo
- a consumer that will call methods onModuleInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-