@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutConfiguredAudienceModelPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutConfiguredAudienceModelPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutConfiguredAudienceModelPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConfiguredAudienceModelArn()
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
|
String |
getConfiguredAudienceModelPolicy()
The IAM resource policy.
|
String |
getPolicyExistenceCondition()
Use this to prevent unexpected concurrent modification of the policy.
|
String |
getPreviousPolicyHash()
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the
policy.
|
int |
hashCode() |
void |
setConfiguredAudienceModelArn(String configuredAudienceModelArn)
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
|
void |
setConfiguredAudienceModelPolicy(String configuredAudienceModelPolicy)
The IAM resource policy.
|
void |
setPolicyExistenceCondition(String policyExistenceCondition)
Use this to prevent unexpected concurrent modification of the policy.
|
void |
setPreviousPolicyHash(String previousPolicyHash)
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the
policy.
|
String |
toString()
Returns a string representation of this object.
|
PutConfiguredAudienceModelPolicyRequest |
withConfiguredAudienceModelArn(String configuredAudienceModelArn)
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
|
PutConfiguredAudienceModelPolicyRequest |
withConfiguredAudienceModelPolicy(String configuredAudienceModelPolicy)
The IAM resource policy.
|
PutConfiguredAudienceModelPolicyRequest |
withPolicyExistenceCondition(PolicyExistenceCondition policyExistenceCondition)
Use this to prevent unexpected concurrent modification of the policy.
|
PutConfiguredAudienceModelPolicyRequest |
withPolicyExistenceCondition(String policyExistenceCondition)
Use this to prevent unexpected concurrent modification of the policy.
|
PutConfiguredAudienceModelPolicyRequest |
withPreviousPolicyHash(String previousPolicyHash)
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the
policy.
|
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 PutConfiguredAudienceModelPolicyRequest()
public void setConfiguredAudienceModelArn(String configuredAudienceModelArn)
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
configuredAudienceModelArn - The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.public String getConfiguredAudienceModelArn()
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
public PutConfiguredAudienceModelPolicyRequest withConfiguredAudienceModelArn(String configuredAudienceModelArn)
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
configuredAudienceModelArn - The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.public void setConfiguredAudienceModelPolicy(String configuredAudienceModelPolicy)
The IAM resource policy.
configuredAudienceModelPolicy - The IAM resource policy.public String getConfiguredAudienceModelPolicy()
The IAM resource policy.
public PutConfiguredAudienceModelPolicyRequest withConfiguredAudienceModelPolicy(String configuredAudienceModelPolicy)
The IAM resource policy.
configuredAudienceModelPolicy - The IAM resource policy.public void setPreviousPolicyHash(String previousPolicyHash)
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
previousPolicyHash - A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of
the policy.public String getPreviousPolicyHash()
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
public PutConfiguredAudienceModelPolicyRequest withPreviousPolicyHash(String previousPolicyHash)
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
previousPolicyHash - A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of
the policy.public void setPolicyExistenceCondition(String policyExistenceCondition)
Use this to prevent unexpected concurrent modification of the policy.
policyExistenceCondition - Use this to prevent unexpected concurrent modification of the policy.PolicyExistenceConditionpublic String getPolicyExistenceCondition()
Use this to prevent unexpected concurrent modification of the policy.
PolicyExistenceConditionpublic PutConfiguredAudienceModelPolicyRequest withPolicyExistenceCondition(String policyExistenceCondition)
Use this to prevent unexpected concurrent modification of the policy.
policyExistenceCondition - Use this to prevent unexpected concurrent modification of the policy.PolicyExistenceConditionpublic PutConfiguredAudienceModelPolicyRequest withPolicyExistenceCondition(PolicyExistenceCondition policyExistenceCondition)
Use this to prevent unexpected concurrent modification of the policy.
policyExistenceCondition - Use this to prevent unexpected concurrent modification of the policy.PolicyExistenceConditionpublic String toString()
toString in class ObjectObject.toString()public PutConfiguredAudienceModelPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()