public static interface StackResource.Builder extends SdkPojo, CopyableBuilder<StackResource.Builder,StackResource>
| Modifier and Type | Method and Description |
|---|---|
StackResource.Builder |
description(String description)
User defined description associated with the resource.
|
default StackResource.Builder |
driftInformation(Consumer<StackResourceDriftInformation.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.
|
StackResource.Builder |
driftInformation(StackResourceDriftInformation 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.
|
StackResource.Builder |
logicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
default StackResource.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.
|
StackResource.Builder |
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.
|
StackResource.Builder |
physicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
StackResource.Builder |
resourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
StackResource.Builder |
resourceStatus(String resourceStatus)
Current status of the resource.
|
StackResource.Builder |
resourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResource.Builder |
resourceType(String resourceType)
Type of resource.
|
StackResource.Builder |
stackId(String stackId)
Unique identifier of the stack.
|
StackResource.Builder |
stackName(String stackName)
The name associated with the stack.
|
StackResource.Builder |
timestamp(Instant timestamp)
Time the status was updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStackResource.Builder stackName(String stackName)
The name associated with the stack.
stackName - The name associated with the stack.StackResource.Builder stackId(String stackId)
Unique identifier of the stack.
stackId - Unique identifier of the stack.StackResource.Builder logicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
logicalResourceId - The logical name of the resource specified in the template.StackResource.Builder physicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
physicalResourceId - The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.StackResource.Builder resourceType(String resourceType)
Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
resourceType - Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.StackResource.Builder timestamp(Instant timestamp)
Time the status was updated.
timestamp - Time the status was updated.StackResource.Builder resourceStatus(String resourceStatus)
Current status of the resource.
resourceStatus - Current status of the resource.ResourceStatus,
ResourceStatusStackResource.Builder resourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
resourceStatus - Current status of the resource.ResourceStatus,
ResourceStatusStackResource.Builder resourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason - Success/failure message associated with the resource.StackResource.Builder description(String description)
User defined description associated with the resource.
description - User defined description associated with the resource.StackResource.Builder driftInformation(StackResourceDriftInformation 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.
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.default StackResource.Builder driftInformation(Consumer<StackResourceDriftInformation.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 theStackResourceDriftInformation.Builder
avoiding the need to create one manually via StackResourceDriftInformation.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to driftInformation(StackResourceDriftInformation).
driftInformation - a consumer that will call methods on StackResourceDriftInformation.BuilderdriftInformation(StackResourceDriftInformation)StackResource.Builder 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.
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.default StackResource.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.
This is a convenience method that creates an instance of theModuleInfo.Builder avoiding the need to
create one manually via ModuleInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to moduleInfo(ModuleInfo).
moduleInfo - a consumer that will call methods on ModuleInfo.BuildermoduleInfo(ModuleInfo)Copyright © 2022. All rights reserved.