* The application registered with AWS Systems Manager for SAP. *
*/ private Application application; /** ** The ID of the operation. *
*/ private String operationId; /** ** The application registered with AWS Systems Manager for SAP. *
* * @param application * The application registered with AWS Systems Manager for SAP. */ public void setApplication(Application application) { this.application = application; } /** ** The application registered with AWS Systems Manager for SAP. *
* * @return The application registered with AWS Systems Manager for SAP. */ public Application getApplication() { return this.application; } /** ** The application registered with AWS Systems Manager for SAP. *
* * @param application * The application registered with AWS Systems Manager for SAP. * @return Returns a reference to this object so that method calls can be chained together. */ public RegisterApplicationResult withApplication(Application application) { setApplication(application); return this; } /** ** The ID of the operation. *
* * @param operationId * The ID of the operation. */ public void setOperationId(String operationId) { this.operationId = operationId; } /** ** The ID of the operation. *
* * @return The ID of the operation. */ public String getOperationId() { return this.operationId; } /** ** The ID of the operation. *
* * @param operationId * The ID of the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public RegisterApplicationResult withOperationId(String operationId) { setOperationId(operationId); 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 (getApplication() != null) sb.append("Application: ").append(getApplication()).append(","); if (getOperationId() != null) sb.append("OperationId: ").append(getOperationId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof RegisterApplicationResult == false) return false; RegisterApplicationResult other = (RegisterApplicationResult) obj; if (other.getApplication() == null ^ this.getApplication() == null) return false; if (other.getApplication() != null && other.getApplication().equals(this.getApplication()) == false) return false; if (other.getOperationId() == null ^ this.getOperationId() == null) return false; if (other.getOperationId() != null && other.getOperationId().equals(this.getOperationId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplication() == null) ? 0 : getApplication().hashCode()); hashCode = prime * hashCode + ((getOperationId() == null) ? 0 : getOperationId().hashCode()); return hashCode; } @Override public RegisterApplicationResult clone() { try { return (RegisterApplicationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }