public static interface StackResourceDetail.Builder extends SdkPojo, CopyableBuilder<StackResourceDetail.Builder,StackResourceDetail>
Modifier and Type | Method and Description |
---|---|
StackResourceDetail.Builder |
description(String description)
User defined description associated with the resource.
|
default StackResourceDetail.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.
|
StackResourceDetail.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.
|
StackResourceDetail.Builder |
lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
Time the status was updated.
|
StackResourceDetail.Builder |
logicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
StackResourceDetail.Builder |
metadata(String metadata)
The content of the
Metadata attribute declared for the resource. |
StackResourceDetail.Builder |
physicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS
CloudFormation.
|
StackResourceDetail.Builder |
resourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
StackResourceDetail.Builder |
resourceStatus(String resourceStatus)
Current status of the resource.
|
StackResourceDetail.Builder |
resourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResourceDetail.Builder |
resourceType(String resourceType)
Type of resource.
|
StackResourceDetail.Builder |
stackId(String stackId)
Unique identifier of the stack.
|
StackResourceDetail.Builder |
stackName(String stackName)
The name associated with the stack.
|
copy
applyMutation, build
StackResourceDetail.Builder stackName(String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.StackResourceDetail.Builder stackId(String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.StackResourceDetail.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.StackResourceDetail.Builder physicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by
AWS CloudFormation.StackResourceDetail.Builder resourceType(String resourceType)
Type of resource. ((For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
resourceType
- Type of resource. ((For more information, go to
AWS Resource Types Reference in the AWS CloudFormation User Guide.)StackResourceDetail.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
Time the status was updated.
lastUpdatedTimestamp
- Time the status was updated.StackResourceDetail.Builder resourceStatus(String resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
,
ResourceStatus
StackResourceDetail.Builder resourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
,
ResourceStatus
StackResourceDetail.Builder resourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.StackResourceDetail.Builder description(String description)
User defined description associated with the resource.
description
- User defined description associated with the resource.StackResourceDetail.Builder metadata(String metadata)
The content of the Metadata
attribute declared for the resource. For more information, see Metadata
Attribute in the AWS CloudFormation User Guide.
metadata
- The content of the Metadata
attribute declared for the resource. For more information,
see Metadata Attribute in the AWS CloudFormation User Guide.StackResourceDetail.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 StackResourceDetail.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 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.Builder
driftInformation(StackResourceDriftInformation)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.