* A string that specifies the URL of the returned endpoint. *
*/ private String repositoryEndpoint; /** ** A string that specifies the URL of the returned endpoint. *
* * @param repositoryEndpoint * A string that specifies the URL of the returned endpoint. */ public void setRepositoryEndpoint(String repositoryEndpoint) { this.repositoryEndpoint = repositoryEndpoint; } /** ** A string that specifies the URL of the returned endpoint. *
* * @return A string that specifies the URL of the returned endpoint. */ public String getRepositoryEndpoint() { return this.repositoryEndpoint; } /** ** A string that specifies the URL of the returned endpoint. *
* * @param repositoryEndpoint * A string that specifies the URL of the returned endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRepositoryEndpointResult withRepositoryEndpoint(String repositoryEndpoint) { setRepositoryEndpoint(repositoryEndpoint); 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 (getRepositoryEndpoint() != null) sb.append("RepositoryEndpoint: ").append(getRepositoryEndpoint()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetRepositoryEndpointResult == false) return false; GetRepositoryEndpointResult other = (GetRepositoryEndpointResult) obj; if (other.getRepositoryEndpoint() == null ^ this.getRepositoryEndpoint() == null) return false; if (other.getRepositoryEndpoint() != null && other.getRepositoryEndpoint().equals(this.getRepositoryEndpoint()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRepositoryEndpoint() == null) ? 0 : getRepositoryEndpoint().hashCode()); return hashCode; } @Override public GetRepositoryEndpointResult clone() { try { return (GetRepositoryEndpointResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }