@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDomainPermissionsPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutDomainPermissionsPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutDomainPermissionsPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomain()
The name of the domain on which to set the resource policy.
|
String |
getDomainOwner()
The 12-digit account number of the AWS account that owns the domain.
|
String |
getPolicyDocument()
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided
domain.
|
String |
getPolicyRevision()
The current revision of the resource policy to be set.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain on which to set the resource policy.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
void |
setPolicyDocument(String policyDocument)
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided
domain.
|
void |
setPolicyRevision(String policyRevision)
The current revision of the resource policy to be set.
|
String |
toString()
Returns a string representation of this object.
|
PutDomainPermissionsPolicyRequest |
withDomain(String domain)
The name of the domain on which to set the resource policy.
|
PutDomainPermissionsPolicyRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
PutDomainPermissionsPolicyRequest |
withPolicyDocument(String policyDocument)
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided
domain.
|
PutDomainPermissionsPolicyRequest |
withPolicyRevision(String policyRevision)
The current revision of the resource policy to be set.
|
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, withSdkRequestTimeout
public void setDomain(String domain)
The name of the domain on which to set the resource policy.
domain
- The name of the domain on which to set the resource policy.public String getDomain()
The name of the domain on which to set the resource policy.
public PutDomainPermissionsPolicyRequest withDomain(String domain)
The name of the domain on which to set the resource policy.
domain
- The name of the domain on which to set the resource policy.public void setDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.public String getDomainOwner()
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
public PutDomainPermissionsPolicyRequest withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.public void setPolicyRevision(String policyRevision)
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
policyRevision
- The current revision of the resource policy to be set. This revision is used for optimistic locking, which
prevents others from overwriting your changes to the domain's resource policy.public String getPolicyRevision()
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
public PutDomainPermissionsPolicyRequest withPolicyRevision(String policyRevision)
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
policyRevision
- The current revision of the resource policy to be set. This revision is used for optimistic locking, which
prevents others from overwriting your changes to the domain's resource policy.public void setPolicyDocument(String policyDocument)
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
policyDocument
- A valid displayable JSON Aspen policy string to be set as the access control resource policy on the
provided domain.public String getPolicyDocument()
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
public PutDomainPermissionsPolicyRequest withPolicyDocument(String policyDocument)
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
policyDocument
- A valid displayable JSON Aspen policy string to be set as the access control resource policy on the
provided domain.public String toString()
toString
in class Object
Object.toString()
public PutDomainPermissionsPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()