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, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
public GetStackPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.