* The custom domain name associated with the result for the changed custom domain association. *
*/ private String customDomainName; /** ** The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain association. *
*/ private String customDomainCertificateArn; /** ** The identifier of the cluster associated with the result for the changed custom domain association. *
*/ private String clusterIdentifier; /** ** The certificate expiration time associated with the result for the changed custom domain association. *
*/ private String customDomainCertExpiryTime; /** ** The custom domain name associated with the result for the changed custom domain association. *
* * @param customDomainName * The custom domain name associated with the result for the changed custom domain association. */ public void setCustomDomainName(String customDomainName) { this.customDomainName = customDomainName; } /** ** The custom domain name associated with the result for the changed custom domain association. *
* * @return The custom domain name associated with the result for the changed custom domain association. */ public String getCustomDomainName() { return this.customDomainName; } /** ** The custom domain name associated with the result for the changed custom domain association. *
* * @param customDomainName * The custom domain name associated with the result for the changed custom domain association. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyCustomDomainAssociationResult withCustomDomainName(String customDomainName) { setCustomDomainName(customDomainName); return this; } /** ** The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain association. *
* * @param customDomainCertificateArn * The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain * association. */ public void setCustomDomainCertificateArn(String customDomainCertificateArn) { this.customDomainCertificateArn = customDomainCertificateArn; } /** ** The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain association. *
* * @return The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain * association. */ public String getCustomDomainCertificateArn() { return this.customDomainCertificateArn; } /** ** The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain association. *
* * @param customDomainCertificateArn * The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain * association. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyCustomDomainAssociationResult withCustomDomainCertificateArn(String customDomainCertificateArn) { setCustomDomainCertificateArn(customDomainCertificateArn); return this; } /** ** The identifier of the cluster associated with the result for the changed custom domain association. *
* * @param clusterIdentifier * The identifier of the cluster associated with the result for the changed custom domain association. */ public void setClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; } /** ** The identifier of the cluster associated with the result for the changed custom domain association. *
* * @return The identifier of the cluster associated with the result for the changed custom domain association. */ public String getClusterIdentifier() { return this.clusterIdentifier; } /** ** The identifier of the cluster associated with the result for the changed custom domain association. *
* * @param clusterIdentifier * The identifier of the cluster associated with the result for the changed custom domain association. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyCustomDomainAssociationResult withClusterIdentifier(String clusterIdentifier) { setClusterIdentifier(clusterIdentifier); return this; } /** ** The certificate expiration time associated with the result for the changed custom domain association. *
* * @param customDomainCertExpiryTime * The certificate expiration time associated with the result for the changed custom domain association. */ public void setCustomDomainCertExpiryTime(String customDomainCertExpiryTime) { this.customDomainCertExpiryTime = customDomainCertExpiryTime; } /** ** The certificate expiration time associated with the result for the changed custom domain association. *
* * @return The certificate expiration time associated with the result for the changed custom domain association. */ public String getCustomDomainCertExpiryTime() { return this.customDomainCertExpiryTime; } /** ** The certificate expiration time associated with the result for the changed custom domain association. *
* * @param customDomainCertExpiryTime * The certificate expiration time associated with the result for the changed custom domain association. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyCustomDomainAssociationResult withCustomDomainCertExpiryTime(String customDomainCertExpiryTime) { setCustomDomainCertExpiryTime(customDomainCertExpiryTime); 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 (getCustomDomainName() != null) sb.append("CustomDomainName: ").append(getCustomDomainName()).append(","); if (getCustomDomainCertificateArn() != null) sb.append("CustomDomainCertificateArn: ").append(getCustomDomainCertificateArn()).append(","); if (getClusterIdentifier() != null) sb.append("ClusterIdentifier: ").append(getClusterIdentifier()).append(","); if (getCustomDomainCertExpiryTime() != null) sb.append("CustomDomainCertExpiryTime: ").append(getCustomDomainCertExpiryTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ModifyCustomDomainAssociationResult == false) return false; ModifyCustomDomainAssociationResult other = (ModifyCustomDomainAssociationResult) obj; if (other.getCustomDomainName() == null ^ this.getCustomDomainName() == null) return false; if (other.getCustomDomainName() != null && other.getCustomDomainName().equals(this.getCustomDomainName()) == false) return false; if (other.getCustomDomainCertificateArn() == null ^ this.getCustomDomainCertificateArn() == null) return false; if (other.getCustomDomainCertificateArn() != null && other.getCustomDomainCertificateArn().equals(this.getCustomDomainCertificateArn()) == false) return false; if (other.getClusterIdentifier() == null ^ this.getClusterIdentifier() == null) return false; if (other.getClusterIdentifier() != null && other.getClusterIdentifier().equals(this.getClusterIdentifier()) == false) return false; if (other.getCustomDomainCertExpiryTime() == null ^ this.getCustomDomainCertExpiryTime() == null) return false; if (other.getCustomDomainCertExpiryTime() != null && other.getCustomDomainCertExpiryTime().equals(this.getCustomDomainCertExpiryTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCustomDomainName() == null) ? 0 : getCustomDomainName().hashCode()); hashCode = prime * hashCode + ((getCustomDomainCertificateArn() == null) ? 0 : getCustomDomainCertificateArn().hashCode()); hashCode = prime * hashCode + ((getClusterIdentifier() == null) ? 0 : getClusterIdentifier().hashCode()); hashCode = prime * hashCode + ((getCustomDomainCertExpiryTime() == null) ? 0 : getCustomDomainCertExpiryTime().hashCode()); return hashCode; } @Override public ModifyCustomDomainAssociationResult clone() { try { return (ModifyCustomDomainAssociationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }