* The configuration string for the workspace that you requested. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *
*/ private String configuration; /** ** The supported Grafana version for the workspace. *
*/ private String grafanaVersion; /** ** The configuration string for the workspace that you requested. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *
** This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *
** The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *
* * @param configuration * The configuration string for the workspace that you requested. For more information about the format and * configuration options available, see Working in your * Grafana workspace. */ public void setConfiguration(String configuration) { this.configuration = configuration; } /** ** The configuration string for the workspace that you requested. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *
** This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *
* * @return The configuration string for the workspace that you requested. For more information about the format and * configuration options available, see Working in your * Grafana workspace. */ public String getConfiguration() { return this.configuration; } /** ** The configuration string for the workspace that you requested. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *
** This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *
** The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *
* * @param configuration * The configuration string for the workspace that you requested. For more information about the format and * configuration options available, see Working in your * Grafana workspace. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeWorkspaceConfigurationResult withConfiguration(String configuration) { setConfiguration(configuration); return this; } /** ** The supported Grafana version for the workspace. *
* * @param grafanaVersion * The supported Grafana version for the workspace. */ public void setGrafanaVersion(String grafanaVersion) { this.grafanaVersion = grafanaVersion; } /** ** The supported Grafana version for the workspace. *
* * @return The supported Grafana version for the workspace. */ public String getGrafanaVersion() { return this.grafanaVersion; } /** ** The supported Grafana version for the workspace. *
* * @param grafanaVersion * The supported Grafana version for the workspace. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeWorkspaceConfigurationResult withGrafanaVersion(String grafanaVersion) { setGrafanaVersion(grafanaVersion); 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 (getConfiguration() != null) sb.append("Configuration: ").append(getConfiguration()).append(","); if (getGrafanaVersion() != null) sb.append("GrafanaVersion: ").append(getGrafanaVersion()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeWorkspaceConfigurationResult == false) return false; DescribeWorkspaceConfigurationResult other = (DescribeWorkspaceConfigurationResult) obj; if (other.getConfiguration() == null ^ this.getConfiguration() == null) return false; if (other.getConfiguration() != null && other.getConfiguration().equals(this.getConfiguration()) == false) return false; if (other.getGrafanaVersion() == null ^ this.getGrafanaVersion() == null) return false; if (other.getGrafanaVersion() != null && other.getGrafanaVersion().equals(this.getGrafanaVersion()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getConfiguration() == null) ? 0 : getConfiguration().hashCode()); hashCode = prime * hashCode + ((getGrafanaVersion() == null) ? 0 : getGrafanaVersion().hashCode()); return hashCode; } @Override public DescribeWorkspaceConfigurationResult clone() { try { return (DescribeWorkspaceConfigurationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }