@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetStackPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output for the GetStackPolicy action.
Constructor and Description |
---|
GetStackPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetStackPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getStackPolicyBody()
Structure containing the stack policy body.
|
int |
hashCode() |
void |
setStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body.
|
String |
toString()
Returns a string representation of this object.
|
GetStackPolicyResult |
withStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)
stackPolicyBody
- Structure containing the stack policy body. (For more information, go to
Prevent Updates to Stack Resources in the CloudFormation User Guide.)public String getStackPolicyBody()
Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)
public GetStackPolicyResult withStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)
stackPolicyBody
- Structure containing the stack policy body. (For more information, go to
Prevent Updates to Stack Resources in the CloudFormation User Guide.)public String toString()
toString
in class Object
Object.toString()
public GetStackPolicyResult clone()