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() |
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 AWS CloudFormation.
|
String |
getStackName()
The name or the unique stack ID that is associated with the stack, which
are not 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 AWS CloudFormation.
|
void |
setStackName(String stackName)
The name or the unique stack ID that is associated with the stack, which
are not always interchangeable:
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 AWS CloudFormation.
|
DescribeStackResourcesRequest |
withStackName(String stackName)
The name or the unique stack ID that is associated with the stack, which
are not always interchangeable:
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStackName(String stackName)
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
Default: There is no default value.
Required: Conditional. If you do not specify StackName
, you
must specify PhysicalResourceId
.
stackName
- The name or the unique stack ID that is associated with the stack,
which are not always interchangeable:
Default: There is no default value.
Required: Conditional. If you do not specify
StackName
, you must specify
PhysicalResourceId
.
public String getStackName()
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
Default: There is no default value.
Required: Conditional. If you do not specify StackName
, you
must specify PhysicalResourceId
.
Default: There is no default value.
Required: Conditional. If you do not 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 are not always interchangeable:
Default: There is no default value.
Required: Conditional. If you do not specify StackName
, you
must specify PhysicalResourceId
.
stackName
- The name or the unique stack ID that is associated with the stack,
which are not always interchangeable:
Default: There is no default value.
Required: Conditional. If you do not 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 AWS 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 do not 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 AWS 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 do not 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 AWS 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 do not 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 do not 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 AWS 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 do not 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 AWS 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 do not specify
PhysicalResourceId
, you must specify
StackName
.
Default: There is no default value.
public String toString()
toString
in class Object
Object.toString()
public DescribeStackResourcesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.