* Information about the Resolver query logging configuration association that you specified in a
* GetQueryLogConfigAssociation
request.
*
* Information about the Resolver query logging configuration association that you specified in a
* GetQueryLogConfigAssociation
request.
*
GetQueryLogConfigAssociation
request.
*/
public void setResolverQueryLogConfigAssociation(ResolverQueryLogConfigAssociation resolverQueryLogConfigAssociation) {
this.resolverQueryLogConfigAssociation = resolverQueryLogConfigAssociation;
}
/**
*
* Information about the Resolver query logging configuration association that you specified in a
* GetQueryLogConfigAssociation
request.
*
GetQueryLogConfigAssociation
request.
*/
public ResolverQueryLogConfigAssociation getResolverQueryLogConfigAssociation() {
return this.resolverQueryLogConfigAssociation;
}
/**
*
* Information about the Resolver query logging configuration association that you specified in a
* GetQueryLogConfigAssociation
request.
*
GetQueryLogConfigAssociation
request.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetResolverQueryLogConfigAssociationResult withResolverQueryLogConfigAssociation(ResolverQueryLogConfigAssociation resolverQueryLogConfigAssociation) {
setResolverQueryLogConfigAssociation(resolverQueryLogConfigAssociation);
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 (getResolverQueryLogConfigAssociation() != null)
sb.append("ResolverQueryLogConfigAssociation: ").append(getResolverQueryLogConfigAssociation());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof GetResolverQueryLogConfigAssociationResult == false)
return false;
GetResolverQueryLogConfigAssociationResult other = (GetResolverQueryLogConfigAssociationResult) obj;
if (other.getResolverQueryLogConfigAssociation() == null ^ this.getResolverQueryLogConfigAssociation() == null)
return false;
if (other.getResolverQueryLogConfigAssociation() != null
&& other.getResolverQueryLogConfigAssociation().equals(this.getResolverQueryLogConfigAssociation()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getResolverQueryLogConfigAssociation() == null) ? 0 : getResolverQueryLogConfigAssociation().hashCode());
return hashCode;
}
@Override
public GetResolverQueryLogConfigAssociationResult clone() {
try {
return (GetResolverQueryLogConfigAssociationResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}