@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutPolicyResult |
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.
|
PutPolicyResult |
withPolicy(Policy policy)
A policy configures behavior that you allow or disallow for your account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 PutPolicyResult 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 Object
Object.toString()
public PutPolicyResult clone()