public class GetPolicyResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetPolicy request.
Constructor and Description |
---|
GetPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetPolicyResult |
clone() |
boolean |
equals(Object obj) |
Policy |
getPolicy()
Information about the policy.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
Information about the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPolicyResult |
withPolicy(Policy policy)
Information about the policy.
|
public Policy getPolicy()
public void setPolicy(Policy policy)
policy
- Information about the policy.public GetPolicyResult withPolicy(Policy policy)
Returns a reference to this object so that method calls can be chained together.
policy
- Information about the policy.public String toString()
toString
in class Object
Object.toString()
public GetPolicyResult clone()
Copyright © 2015. All rights reserved.