public class GetStackPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
|---|---|
GetStackPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getStackName()
The name or unique stack ID that is associated with the stack whose
policy you want to get.
|
int |
hashCode() |
void |
setStackName(String stackName)
The name or unique 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 unique stack ID that is associated with the stack whose
policy you want to get.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getStackName()
public void setStackName(String stackName)
stackName - The name or unique 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 unique stack ID that is associated with the stack whose
policy you want to get.public String toString()
toString in class ObjectObject.toString()public GetStackPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.