Class StackResource
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StackResource.Builder,StackResource>
The StackResource data type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StackResource.Builderbuilder()final StringUser defined description associated with the resource.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.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe logical name of the resource specified in the template.final ModuleInfoContains information about the module from which the resource was created, if the resource was created from a module included in the stack template.final StringThe name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.final ResourceStatusCurrent status of the resource.final StringCurrent status of the resource.final StringSuccess/failure message associated with the resource.final StringType of resource.static Class<? extends StackResource.Builder>final StringstackId()Unique identifier of the stack.final StringThe name associated with the stack.final InstantTime the status was updated.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stackName
The name associated with the stack.
- Returns:
- The name associated with the stack.
-
stackId
Unique identifier of the stack.
- Returns:
- Unique identifier of the stack.
-
logicalResourceId
The logical name of the resource specified in the template.
- Returns:
- The logical name of the resource specified in the template.
-
physicalResourceId
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
- Returns:
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
-
resourceType
Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
- Returns:
- Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
-
timestamp
Time the status was updated.
- Returns:
- Time the status was updated.
-
resourceStatus
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version,
resourceStatuswill returnResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceStatusAsString().- Returns:
- Current status of the resource.
- See Also:
-
resourceStatusAsString
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version,
resourceStatuswill returnResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceStatusAsString().- Returns:
- Current status of the resource.
- See Also:
-
resourceStatusReason
Success/failure message associated with the resource.
- Returns:
- Success/failure message associated with the resource.
-
description
User defined description associated with the resource.
- Returns:
- User defined description associated with the resource.
-
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 Detect unmanaged configuration changes to stacks and resources with drift detection.
- Returns:
- 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 Detect unmanaged configuration changes to stacks and resources with drift detection.
-
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:
- Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StackResource.Builder,StackResource>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-