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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods 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
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StackResource.Builder,StackResource> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-