public class GetStackPolicyRequest extends AmazonWebServiceRequest implements Serializable
GetStackPolicy operation
.
Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.
NOOP
Constructor and Description |
---|
GetStackPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getStackName()
The name or stack ID that is associated with the stack whose policy
you want to get.
|
int |
hashCode() |
void |
setStackName(String stackName)
The name or stack ID that is associated with the stack whose policy
you want to get.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetStackPolicyRequest |
withStackName(String stackName)
The name or stack ID that is associated with the stack whose policy
you want to get.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getStackName()
public void setStackName(String stackName)
stackName
- The name or stack ID that is associated with the stack whose policy
you want to get.public GetStackPolicyRequest withStackName(String stackName)
Returns a reference to this object so that method calls can be chained together.
stackName
- The name or stack ID that is associated with the stack whose policy
you want to get.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.