Class DescribeStackResourcesRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeStackResourcesRequest.Builder,DescribeStackResourcesRequest>
The input for DescribeStackResources action.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe logical name of the resource as specified in the template.final StringThe name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.static Class<? extends DescribeStackResourcesRequest.Builder>final StringThe name or the unique stack ID that is associated with the stack, which aren't always interchangeable:final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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 or the unique stack ID that is associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Required: Conditional. If you don't specify
StackName, you must specifyPhysicalResourceId.- Returns:
- The name or the unique stack ID that is associated with the stack, which aren't always
interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Required: Conditional. If you don't specify
StackName, you must specifyPhysicalResourceId. -
-
-
logicalResourceId
The logical name of the resource as specified in the template.
- Returns:
- The logical name of the resource as specified in the template.
-
physicalResourceId
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
For example, for an Amazon Elastic Compute Cloud (EC2) instance,
PhysicalResourceIdcorresponds to theInstanceId. You can pass the EC2InstanceIdtoDescribeStackResourcesto find which stack the instance belongs to and what other resources are part of the stack.Required: Conditional. If you don't specify
PhysicalResourceId, you must specifyStackName.- Returns:
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
For example, for an Amazon Elastic Compute Cloud (EC2) instance,
PhysicalResourceIdcorresponds to theInstanceId. You can pass the EC2InstanceIdtoDescribeStackResourcesto find which stack the instance belongs to and what other resources are part of the stack.Required: Conditional. If you don't specify
PhysicalResourceId, you must specifyStackName.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeStackResourcesRequest.Builder,DescribeStackResourcesRequest> - Specified by:
toBuilderin classCloudFormationRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-