@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetPolicyResult |
clone() |
boolean |
equals(Object obj) |
Policy |
getPolicy()
A policy configures behavior that you allow or disallow for your account.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
A policy configures behavior that you allow or disallow for your account.
|
String |
toString()
Returns a string representation of this object.
|
GetPolicyResult |
withPolicy(Policy policy)
A policy configures behavior that you allow or disallow for your account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(Policy policy)
policy - A policy configures behavior that you allow or disallow for your account. For information about
MediaConvert policies, see the user guide at
http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlpublic Policy getPolicy()
public GetPolicyResult withPolicy(Policy policy)
policy - A policy configures behavior that you allow or disallow for your account. For information about
MediaConvert policies, see the user guide at
http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlpublic String toString()
toString in class ObjectObject.toString()public GetPolicyResult clone()