* The specified application, returned as an object with details including compliance status, creation time, * description, resiliency score, and more. *
*/ private App app; /** ** The specified application, returned as an object with details including compliance status, creation time, * description, resiliency score, and more. *
* * @param app * The specified application, returned as an object with details including compliance status, creation time, * description, resiliency score, and more. */ public void setApp(App app) { this.app = app; } /** ** The specified application, returned as an object with details including compliance status, creation time, * description, resiliency score, and more. *
* * @return The specified application, returned as an object with details including compliance status, creation time, * description, resiliency score, and more. */ public App getApp() { return this.app; } /** ** The specified application, returned as an object with details including compliance status, creation time, * description, resiliency score, and more. *
* * @param app * The specified application, returned as an object with details including compliance status, creation time, * description, resiliency score, and more. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppResult withApp(App app) { setApp(app); 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 (getApp() != null) sb.append("App: ").append(getApp()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeAppResult == false) return false; DescribeAppResult other = (DescribeAppResult) obj; if (other.getApp() == null ^ this.getApp() == null) return false; if (other.getApp() != null && other.getApp().equals(this.getApp()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApp() == null) ? 0 : getApp().hashCode()); return hashCode; } @Override public DescribeAppResult clone() { try { return (DescribeAppResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }