@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
PutPolicyRequest |
withPolicy(Policy policy)
A policy configures behavior that you allow or disallow for your account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 PutPolicyRequest 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 PutPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()