|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudformation.model.GetStackPolicyRequest
public class GetStackPolicyRequest
Container for the parameters to the GetStackPolicy operation
.
Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.
AmazonCloudFormation.getStackPolicy(GetStackPolicyRequest)
,
Serialized FormConstructor Summary | |
---|---|
GetStackPolicyRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetStackPolicyRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |