@Generated(value="software.amazon.awssdk:codegen") public final class StackResource extends Object implements ToCopyableBuilder<StackResource.Builder,StackResource>
The StackResource data type.
Modifier and Type | Class and Description |
---|---|
static interface |
StackResource.Builder |
Modifier and Type | Method and Description |
---|---|
static StackResource.Builder |
builder() |
String |
description()
User defined description associated with the resource.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logicalResourceId()
The logical name of the resource specified in the template.
|
String |
physicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS
CloudFormation.
|
ResourceStatus |
resourceStatus()
Current status of the resource.
|
String |
resourceStatusAsString()
Current status of the resource.
|
String |
resourceStatusReason()
Success/failure message associated with the resource.
|
String |
resourceType()
Type of resource.
|
static Class<? extends StackResource.Builder> |
serializableBuilderClass() |
String |
stackId()
Unique identifier of the stack.
|
String |
stackName()
The name associated with the stack.
|
Instant |
timestamp()
Time the status was updated.
|
StackResource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String stackName()
The name associated with the stack.
public String stackId()
Unique identifier of the stack.
public String logicalResourceId()
The logical name of the resource specified in the template.
public String physicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
public String resourceType()
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
public Instant timestamp()
Time the status was updated.
public ResourceStatus resourceStatus()
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version, resourceStatus
will return ResourceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from resourceStatusAsString()
.
ResourceStatus
public String resourceStatusAsString()
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version, resourceStatus
will return ResourceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from resourceStatusAsString()
.
ResourceStatus
public String resourceStatusReason()
Success/failure message associated with the resource.
public String description()
User defined description associated with the resource.
public StackResource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StackResource.Builder,StackResource>
public static StackResource.Builder builder()
public static Class<? extends StackResource.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.