@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 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:
|
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, withSdkRequestTimeout
public void setStackName(String stackName)
The name or the unique stack ID that is associated with the stack, which are not 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 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:
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 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:
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 do not 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 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:
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 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:
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 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.