* Indicates whether the calling Amazon Web Services account is in the SMS sandbox. *
*/ private Boolean isInSandbox; /** ** Indicates whether the calling Amazon Web Services account is in the SMS sandbox. *
* * @param isInSandbox * Indicates whether the calling Amazon Web Services account is in the SMS sandbox. */ public void setIsInSandbox(Boolean isInSandbox) { this.isInSandbox = isInSandbox; } /** ** Indicates whether the calling Amazon Web Services account is in the SMS sandbox. *
* * @return Indicates whether the calling Amazon Web Services account is in the SMS sandbox. */ public Boolean getIsInSandbox() { return this.isInSandbox; } /** ** Indicates whether the calling Amazon Web Services account is in the SMS sandbox. *
* * @param isInSandbox * Indicates whether the calling Amazon Web Services account is in the SMS sandbox. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSMSSandboxAccountStatusResult withIsInSandbox(Boolean isInSandbox) { setIsInSandbox(isInSandbox); return this; } /** ** Indicates whether the calling Amazon Web Services account is in the SMS sandbox. *
* * @return Indicates whether the calling Amazon Web Services account is in the SMS sandbox. */ public Boolean isInSandbox() { return this.isInSandbox; } /** * 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 (getIsInSandbox() != null) sb.append("IsInSandbox: ").append(getIsInSandbox()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetSMSSandboxAccountStatusResult == false) return false; GetSMSSandboxAccountStatusResult other = (GetSMSSandboxAccountStatusResult) obj; if (other.getIsInSandbox() == null ^ this.getIsInSandbox() == null) return false; if (other.getIsInSandbox() != null && other.getIsInSandbox().equals(this.getIsInSandbox()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIsInSandbox() == null) ? 0 : getIsInSandbox().hashCode()); return hashCode; } @Override public GetSMSSandboxAccountStatusResult clone() { try { return (GetSMSSandboxAccountStatusResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }