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