@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStackResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for DescribeStackResources action.
NOOP| Constructor and Description |
|---|
DescribeStackResourcesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeStackResourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLogicalResourceId()
The logical name of the resource as specified in the template.
|
String |
getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
String |
getStackName()
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
|
int |
hashCode() |
void |
setLogicalResourceId(String logicalResourceId)
The logical name of the resource as specified in the template.
|
void |
setPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
void |
setStackName(String stackName)
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
|
String |
toString()
Returns a string representation of this object.
|
DescribeStackResourcesRequest |
withLogicalResourceId(String logicalResourceId)
The logical name of the resource as specified in the template.
|
DescribeStackResourcesRequest |
withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
DescribeStackResourcesRequest |
withStackName(String stackName)
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setStackName(String 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.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify
PhysicalResourceId.
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.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify
PhysicalResourceId.
public String getStackName()
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.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify
PhysicalResourceId.
Running stacks: You can specify either the stack's name or its unique stack ID.
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify
PhysicalResourceId.
public DescribeStackResourcesRequest withStackName(String 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.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify
PhysicalResourceId.
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.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify
PhysicalResourceId.
public void setLogicalResourceId(String logicalResourceId)
The logical name of the resource as specified in the template.
Default: There is no default value.
logicalResourceId - The logical name of the resource as specified in the template.
Default: There is no default value.
public String getLogicalResourceId()
The logical name of the resource as specified in the template.
Default: There is no default value.
Default: There is no default value.
public DescribeStackResourcesRequest withLogicalResourceId(String logicalResourceId)
The logical name of the resource as specified in the template.
Default: There is no default value.
logicalResourceId - The logical name of the resource as specified in the template.
Default: There is no default value.
public void setPhysicalResourceId(String 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, PhysicalResourceId corresponds to
the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources
to 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 specify
StackName.
Default: There is no default value.
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, PhysicalResourceId
corresponds to the InstanceId. You can pass the EC2 InstanceId to
DescribeStackResources to 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 specify
StackName.
Default: There is no default value.
public String getPhysicalResourceId()
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, PhysicalResourceId corresponds to
the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources
to 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 specify
StackName.
Default: There is no default value.
For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId
corresponds to the InstanceId. You can pass the EC2 InstanceId to
DescribeStackResources to 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 specify
StackName.
Default: There is no default value.
public DescribeStackResourcesRequest withPhysicalResourceId(String 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, PhysicalResourceId corresponds to
the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources
to 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 specify
StackName.
Default: There is no default value.
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, PhysicalResourceId
corresponds to the InstanceId. You can pass the EC2 InstanceId to
DescribeStackResources to 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 specify
StackName.
Default: There is no default value.
public String toString()
toString in class ObjectObject.toString()public DescribeStackResourcesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()