* Indicates the current policy status of the specified access point. *
*/ private PolicyStatus policyStatus; /** ** Indicates the current policy status of the specified access point. *
* * @param policyStatus * Indicates the current policy status of the specified access point. */ public void setPolicyStatus(PolicyStatus policyStatus) { this.policyStatus = policyStatus; } /** ** Indicates the current policy status of the specified access point. *
* * @return Indicates the current policy status of the specified access point. */ public PolicyStatus getPolicyStatus() { return this.policyStatus; } /** ** Indicates the current policy status of the specified access point. *
* * @param policyStatus * Indicates the current policy status of the specified access point. * @return Returns a reference to this object so that method calls can be chained together. */ public GetAccessPointPolicyStatusResult withPolicyStatus(PolicyStatus policyStatus) { setPolicyStatus(policyStatus); 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 (getPolicyStatus() != null) sb.append("PolicyStatus: ").append(getPolicyStatus()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetAccessPointPolicyStatusResult == false) return false; GetAccessPointPolicyStatusResult other = (GetAccessPointPolicyStatusResult) obj; if (other.getPolicyStatus() == null ^ this.getPolicyStatus() == null) return false; if (other.getPolicyStatus() != null && other.getPolicyStatus().equals(this.getPolicyStatus()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPolicyStatus() == null) ? 0 : getPolicyStatus().hashCode()); return hashCode; } @Override public GetAccessPointPolicyStatusResult clone() { try { return (GetAccessPointPolicyStatusResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }