* The Resolver rule policy for the rule that you specified in a GetResolverRulePolicy
request.
*
* The Resolver rule policy for the rule that you specified in a GetResolverRulePolicy
request.
*
GetResolverRulePolicy
request.
*/
public void setResolverRulePolicy(String resolverRulePolicy) {
this.resolverRulePolicy = resolverRulePolicy;
}
/**
*
* The Resolver rule policy for the rule that you specified in a GetResolverRulePolicy
request.
*
GetResolverRulePolicy
request.
*/
public String getResolverRulePolicy() {
return this.resolverRulePolicy;
}
/**
*
* The Resolver rule policy for the rule that you specified in a GetResolverRulePolicy
request.
*
GetResolverRulePolicy
request.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetResolverRulePolicyResult withResolverRulePolicy(String resolverRulePolicy) {
setResolverRulePolicy(resolverRulePolicy);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getResolverRulePolicy() != null)
sb.append("ResolverRulePolicy: ").append(getResolverRulePolicy());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof GetResolverRulePolicyResult == false)
return false;
GetResolverRulePolicyResult other = (GetResolverRulePolicyResult) obj;
if (other.getResolverRulePolicy() == null ^ this.getResolverRulePolicy() == null)
return false;
if (other.getResolverRulePolicy() != null && other.getResolverRulePolicy().equals(this.getResolverRulePolicy()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getResolverRulePolicy() == null) ? 0 : getResolverRulePolicy().hashCode());
return hashCode;
}
@Override
public GetResolverRulePolicyResult clone() {
try {
return (GetResolverRulePolicyResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}