@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDomainPermissionsPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDomainPermissionsPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetDomainPermissionsPolicyRequest |
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 to which the resource policy is attached.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain to which the resource policy is attached.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
toString()
Returns a string representation of this object.
|
GetDomainPermissionsPolicyRequest |
withDomain(String domain)
The name of the domain to which the resource policy is attached.
|
GetDomainPermissionsPolicyRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
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 to which the resource policy is attached.
domain
- The name of the domain to which the resource policy is attached.public String getDomain()
The name of the domain to which the resource policy is attached.
public GetDomainPermissionsPolicyRequest withDomain(String domain)
The name of the domain to which the resource policy is attached.
domain
- The name of the domain to which the resource policy is attached.public void setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public GetDomainPermissionsPolicyRequest withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String toString()
toString
in class Object
Object.toString()
public GetDomainPermissionsPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()