* The Amazon Resource Name (ARN) of the routing profile. *
*/ private String routingProfileArn; /** ** The identifier of the routing profile. *
*/ private String routingProfileId; /** ** The Amazon Resource Name (ARN) of the routing profile. *
* * @param routingProfileArn * The Amazon Resource Name (ARN) of the routing profile. */ public void setRoutingProfileArn(String routingProfileArn) { this.routingProfileArn = routingProfileArn; } /** ** The Amazon Resource Name (ARN) of the routing profile. *
* * @return The Amazon Resource Name (ARN) of the routing profile. */ public String getRoutingProfileArn() { return this.routingProfileArn; } /** ** The Amazon Resource Name (ARN) of the routing profile. *
* * @param routingProfileArn * The Amazon Resource Name (ARN) of the routing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRoutingProfileResult withRoutingProfileArn(String routingProfileArn) { setRoutingProfileArn(routingProfileArn); return this; } /** ** The identifier of the routing profile. *
* * @param routingProfileId * The identifier of the routing profile. */ public void setRoutingProfileId(String routingProfileId) { this.routingProfileId = routingProfileId; } /** ** The identifier of the routing profile. *
* * @return The identifier of the routing profile. */ public String getRoutingProfileId() { return this.routingProfileId; } /** ** The identifier of the routing profile. *
* * @param routingProfileId * The identifier of the routing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRoutingProfileResult withRoutingProfileId(String routingProfileId) { setRoutingProfileId(routingProfileId); 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 (getRoutingProfileArn() != null) sb.append("RoutingProfileArn: ").append(getRoutingProfileArn()).append(","); if (getRoutingProfileId() != null) sb.append("RoutingProfileId: ").append(getRoutingProfileId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateRoutingProfileResult == false) return false; CreateRoutingProfileResult other = (CreateRoutingProfileResult) obj; if (other.getRoutingProfileArn() == null ^ this.getRoutingProfileArn() == null) return false; if (other.getRoutingProfileArn() != null && other.getRoutingProfileArn().equals(this.getRoutingProfileArn()) == false) return false; if (other.getRoutingProfileId() == null ^ this.getRoutingProfileId() == null) return false; if (other.getRoutingProfileId() != null && other.getRoutingProfileId().equals(this.getRoutingProfileId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRoutingProfileArn() == null) ? 0 : getRoutingProfileArn().hashCode()); hashCode = prime * hashCode + ((getRoutingProfileId() == null) ? 0 : getRoutingProfileId().hashCode()); return hashCode; } @Override public CreateRoutingProfileResult clone() { try { return (CreateRoutingProfileResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }