Class GetStackPolicyResult
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.GetStackPolicyResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetStackPolicyResult extends Object implements Serializable, Cloneable
The output for the GetStackPolicy action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetStackPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetStackPolicyResultclone()booleanequals(Object obj)StringgetStackPolicyBody()Structure containing the stack policy body.inthashCode()voidsetStackPolicyBody(String stackPolicyBody)Structure containing the stack policy body.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetStackPolicyResultwithStackPolicyBody(String stackPolicyBody)Structure containing the stack policy body.
-
-
-
Method Detail
-
setStackPolicyBody
public void setStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.)
- Parameters:
stackPolicyBody- Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.)
-
getStackPolicyBody
public String getStackPolicyBody()
Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.)
- Returns:
- Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.)
-
withStackPolicyBody
public GetStackPolicyResult withStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.)
- Parameters:
stackPolicyBody- Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetStackPolicyResult clone()
-
-