* The application ID. *
*/ private String id; /** ** The application name. *
*/ private String name; /** ** The description of the application. *
*/ private String description; /** ** The application ID. *
* * @param id * The application ID. */ public void setId(String id) { this.id = id; } /** ** The application ID. *
* * @return The application ID. */ public String getId() { return this.id; } /** ** The application ID. *
* * @param id * The application ID. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateApplicationResult withId(String id) { setId(id); return this; } /** ** The application name. *
* * @param name * The application name. */ public void setName(String name) { this.name = name; } /** ** The application name. *
* * @return The application name. */ public String getName() { return this.name; } /** ** The application name. *
* * @param name * The application name. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateApplicationResult withName(String name) { setName(name); return this; } /** ** The description of the application. *
* * @param description * The description of the application. */ public void setDescription(String description) { this.description = description; } /** ** The description of the application. *
* * @return The description of the application. */ public String getDescription() { return this.description; } /** ** The description of the application. *
* * @param description * The description of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateApplicationResult withDescription(String description) { setDescription(description); 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 (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateApplicationResult == false) return false; CreateApplicationResult other = (CreateApplicationResult) obj; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); return hashCode; } @Override public CreateApplicationResult clone() { try { return (CreateApplicationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }