@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDomainPermissionsPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDomainPermissionsPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetDomainPermissionsPolicyResult |
clone() |
boolean |
equals(Object obj) |
ResourcePolicy |
getPolicy()
The returned resource policy.
|
int |
hashCode() |
void |
setPolicy(ResourcePolicy policy)
The returned resource policy.
|
String |
toString()
Returns a string representation of this object.
|
GetDomainPermissionsPolicyResult |
withPolicy(ResourcePolicy policy)
The returned resource policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(ResourcePolicy policy)
The returned resource policy.
policy
- The returned resource policy.public ResourcePolicy getPolicy()
The returned resource policy.
public GetDomainPermissionsPolicyResult withPolicy(ResourcePolicy policy)
The returned resource policy.
policy
- The returned resource policy.public String toString()
toString
in class Object
Object.toString()
public GetDomainPermissionsPolicyResult clone()