* The Amazon Resource Name (ARN) of the agent status. *
*/ private String agentStatusARN; /** ** The identifier of the agent status. *
*/ private String agentStatusId; /** ** The Amazon Resource Name (ARN) of the agent status. *
* * @param agentStatusARN * The Amazon Resource Name (ARN) of the agent status. */ public void setAgentStatusARN(String agentStatusARN) { this.agentStatusARN = agentStatusARN; } /** ** The Amazon Resource Name (ARN) of the agent status. *
* * @return The Amazon Resource Name (ARN) of the agent status. */ public String getAgentStatusARN() { return this.agentStatusARN; } /** ** The Amazon Resource Name (ARN) of the agent status. *
* * @param agentStatusARN * The Amazon Resource Name (ARN) of the agent status. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateAgentStatusResult withAgentStatusARN(String agentStatusARN) { setAgentStatusARN(agentStatusARN); return this; } /** ** The identifier of the agent status. *
* * @param agentStatusId * The identifier of the agent status. */ public void setAgentStatusId(String agentStatusId) { this.agentStatusId = agentStatusId; } /** ** The identifier of the agent status. *
* * @return The identifier of the agent status. */ public String getAgentStatusId() { return this.agentStatusId; } /** ** The identifier of the agent status. *
* * @param agentStatusId * The identifier of the agent status. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateAgentStatusResult withAgentStatusId(String agentStatusId) { setAgentStatusId(agentStatusId); 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 (getAgentStatusARN() != null) sb.append("AgentStatusARN: ").append(getAgentStatusARN()).append(","); if (getAgentStatusId() != null) sb.append("AgentStatusId: ").append(getAgentStatusId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateAgentStatusResult == false) return false; CreateAgentStatusResult other = (CreateAgentStatusResult) obj; if (other.getAgentStatusARN() == null ^ this.getAgentStatusARN() == null) return false; if (other.getAgentStatusARN() != null && other.getAgentStatusARN().equals(this.getAgentStatusARN()) == false) return false; if (other.getAgentStatusId() == null ^ this.getAgentStatusId() == null) return false; if (other.getAgentStatusId() != null && other.getAgentStatusId().equals(this.getAgentStatusId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAgentStatusARN() == null) ? 0 : getAgentStatusARN().hashCode()); hashCode = prime * hashCode + ((getAgentStatusId() == null) ? 0 : getAgentStatusId().hashCode()); return hashCode; } @Override public CreateAgentStatusResult clone() { try { return (CreateAgentStatusResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }