* Information about the Directory Config object. *
*/ private DirectoryConfig directoryConfig; /** ** Information about the Directory Config object. *
* * @param directoryConfig * Information about the Directory Config object. */ public void setDirectoryConfig(DirectoryConfig directoryConfig) { this.directoryConfig = directoryConfig; } /** ** Information about the Directory Config object. *
* * @return Information about the Directory Config object. */ public DirectoryConfig getDirectoryConfig() { return this.directoryConfig; } /** ** Information about the Directory Config object. *
* * @param directoryConfig * Information about the Directory Config object. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDirectoryConfigResult withDirectoryConfig(DirectoryConfig directoryConfig) { setDirectoryConfig(directoryConfig); 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 (getDirectoryConfig() != null) sb.append("DirectoryConfig: ").append(getDirectoryConfig()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateDirectoryConfigResult == false) return false; UpdateDirectoryConfigResult other = (UpdateDirectoryConfigResult) obj; if (other.getDirectoryConfig() == null ^ this.getDirectoryConfig() == null) return false; if (other.getDirectoryConfig() != null && other.getDirectoryConfig().equals(this.getDirectoryConfig()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDirectoryConfig() == null) ? 0 : getDirectoryConfig().hashCode()); return hashCode; } @Override public UpdateDirectoryConfigResult clone() { try { return (UpdateDirectoryConfigResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }