/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.elasticsearch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The configuration of an Elasticsearch domain. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchDomainConfig implements Serializable, Cloneable, StructuredPojo { /** ** String of format X.Y to specify version for the Elasticsearch domain. *
*/ private ElasticsearchVersionStatus elasticsearchVersion; /** *
* Specifies the ElasticsearchClusterConfig
for the Elasticsearch domain.
*
* Specifies the EBSOptions
for the Elasticsearch domain.
*
* IAM access policy as a JSON-formatted string. *
*/ private AccessPoliciesStatus accessPolicies; /** *
* Specifies the SnapshotOptions
for the Elasticsearch domain.
*
* The VPCOptions
for the specified domain. For more information, see VPC
* Endpoints for Amazon Elasticsearch Service Domains.
*
* The CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*
* Specifies the EncryptionAtRestOptions
for the Elasticsearch domain.
*
* Specifies the NodeToNodeEncryptionOptions
for the Elasticsearch domain.
*
* Specifies the AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
*
* Log publishing options for the given domain. *
*/ private LogPublishingOptionsStatus logPublishingOptions; /** *
* Specifies the DomainEndpointOptions
for the Elasticsearch domain.
*
* Specifies AdvancedSecurityOptions
for the domain.
*
* Specifies AutoTuneOptions
for the domain.
*
* Specifies change details of the domain configuration change. *
*/ private ChangeProgressDetails changeProgressDetails; /** ** String of format X.Y to specify version for the Elasticsearch domain. *
* * @param elasticsearchVersion * String of format X.Y to specify version for the Elasticsearch domain. */ public void setElasticsearchVersion(ElasticsearchVersionStatus elasticsearchVersion) { this.elasticsearchVersion = elasticsearchVersion; } /** ** String of format X.Y to specify version for the Elasticsearch domain. *
* * @return String of format X.Y to specify version for the Elasticsearch domain. */ public ElasticsearchVersionStatus getElasticsearchVersion() { return this.elasticsearchVersion; } /** ** String of format X.Y to specify version for the Elasticsearch domain. *
* * @param elasticsearchVersion * String of format X.Y to specify version for the Elasticsearch domain. * @return Returns a reference to this object so that method calls can be chained together. */ public ElasticsearchDomainConfig withElasticsearchVersion(ElasticsearchVersionStatus elasticsearchVersion) { setElasticsearchVersion(elasticsearchVersion); return this; } /** *
* Specifies the ElasticsearchClusterConfig
for the Elasticsearch domain.
*
ElasticsearchClusterConfig
for the Elasticsearch domain.
*/
public void setElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig) {
this.elasticsearchClusterConfig = elasticsearchClusterConfig;
}
/**
*
* Specifies the ElasticsearchClusterConfig
for the Elasticsearch domain.
*
ElasticsearchClusterConfig
for the Elasticsearch domain.
*/
public ElasticsearchClusterConfigStatus getElasticsearchClusterConfig() {
return this.elasticsearchClusterConfig;
}
/**
*
* Specifies the ElasticsearchClusterConfig
for the Elasticsearch domain.
*
ElasticsearchClusterConfig
for the Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig) {
setElasticsearchClusterConfig(elasticsearchClusterConfig);
return this;
}
/**
*
* Specifies the EBSOptions
for the Elasticsearch domain.
*
EBSOptions
for the Elasticsearch domain.
*/
public void setEBSOptions(EBSOptionsStatus eBSOptions) {
this.eBSOptions = eBSOptions;
}
/**
*
* Specifies the EBSOptions
for the Elasticsearch domain.
*
EBSOptions
for the Elasticsearch domain.
*/
public EBSOptionsStatus getEBSOptions() {
return this.eBSOptions;
}
/**
*
* Specifies the EBSOptions
for the Elasticsearch domain.
*
EBSOptions
for the Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withEBSOptions(EBSOptionsStatus eBSOptions) {
setEBSOptions(eBSOptions);
return this;
}
/**
* * IAM access policy as a JSON-formatted string. *
* * @param accessPolicies * IAM access policy as a JSON-formatted string. */ public void setAccessPolicies(AccessPoliciesStatus accessPolicies) { this.accessPolicies = accessPolicies; } /** ** IAM access policy as a JSON-formatted string. *
* * @return IAM access policy as a JSON-formatted string. */ public AccessPoliciesStatus getAccessPolicies() { return this.accessPolicies; } /** ** IAM access policy as a JSON-formatted string. *
* * @param accessPolicies * IAM access policy as a JSON-formatted string. * @return Returns a reference to this object so that method calls can be chained together. */ public ElasticsearchDomainConfig withAccessPolicies(AccessPoliciesStatus accessPolicies) { setAccessPolicies(accessPolicies); return this; } /** *
* Specifies the SnapshotOptions
for the Elasticsearch domain.
*
SnapshotOptions
for the Elasticsearch domain.
*/
public void setSnapshotOptions(SnapshotOptionsStatus snapshotOptions) {
this.snapshotOptions = snapshotOptions;
}
/**
*
* Specifies the SnapshotOptions
for the Elasticsearch domain.
*
SnapshotOptions
for the Elasticsearch domain.
*/
public SnapshotOptionsStatus getSnapshotOptions() {
return this.snapshotOptions;
}
/**
*
* Specifies the SnapshotOptions
for the Elasticsearch domain.
*
SnapshotOptions
for the Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withSnapshotOptions(SnapshotOptionsStatus snapshotOptions) {
setSnapshotOptions(snapshotOptions);
return this;
}
/**
*
* The VPCOptions
for the specified domain. For more information, see VPC
* Endpoints for Amazon Elasticsearch Service Domains.
*
VPCOptions
for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
*/
public void setVPCOptions(VPCDerivedInfoStatus vPCOptions) {
this.vPCOptions = vPCOptions;
}
/**
*
* The VPCOptions
for the specified domain. For more information, see VPC
* Endpoints for Amazon Elasticsearch Service Domains.
*
VPCOptions
for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
*/
public VPCDerivedInfoStatus getVPCOptions() {
return this.vPCOptions;
}
/**
*
* The VPCOptions
for the specified domain. For more information, see VPC
* Endpoints for Amazon Elasticsearch Service Domains.
*
VPCOptions
for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withVPCOptions(VPCDerivedInfoStatus vPCOptions) {
setVPCOptions(vPCOptions);
return this;
}
/**
*
* The CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*
CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*/
public void setCognitoOptions(CognitoOptionsStatus cognitoOptions) {
this.cognitoOptions = cognitoOptions;
}
/**
*
* The CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*
CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*/
public CognitoOptionsStatus getCognitoOptions() {
return this.cognitoOptions;
}
/**
*
* The CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*
CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withCognitoOptions(CognitoOptionsStatus cognitoOptions) {
setCognitoOptions(cognitoOptions);
return this;
}
/**
*
* Specifies the EncryptionAtRestOptions
for the Elasticsearch domain.
*
EncryptionAtRestOptions
for the Elasticsearch domain.
*/
public void setEncryptionAtRestOptions(EncryptionAtRestOptionsStatus encryptionAtRestOptions) {
this.encryptionAtRestOptions = encryptionAtRestOptions;
}
/**
*
* Specifies the EncryptionAtRestOptions
for the Elasticsearch domain.
*
EncryptionAtRestOptions
for the Elasticsearch domain.
*/
public EncryptionAtRestOptionsStatus getEncryptionAtRestOptions() {
return this.encryptionAtRestOptions;
}
/**
*
* Specifies the EncryptionAtRestOptions
for the Elasticsearch domain.
*
EncryptionAtRestOptions
for the Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withEncryptionAtRestOptions(EncryptionAtRestOptionsStatus encryptionAtRestOptions) {
setEncryptionAtRestOptions(encryptionAtRestOptions);
return this;
}
/**
*
* Specifies the NodeToNodeEncryptionOptions
for the Elasticsearch domain.
*
NodeToNodeEncryptionOptions
for the Elasticsearch domain.
*/
public void setNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsStatus nodeToNodeEncryptionOptions) {
this.nodeToNodeEncryptionOptions = nodeToNodeEncryptionOptions;
}
/**
*
* Specifies the NodeToNodeEncryptionOptions
for the Elasticsearch domain.
*
NodeToNodeEncryptionOptions
for the Elasticsearch domain.
*/
public NodeToNodeEncryptionOptionsStatus getNodeToNodeEncryptionOptions() {
return this.nodeToNodeEncryptionOptions;
}
/**
*
* Specifies the NodeToNodeEncryptionOptions
for the Elasticsearch domain.
*
NodeToNodeEncryptionOptions
for the Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsStatus nodeToNodeEncryptionOptions) {
setNodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions);
return this;
}
/**
*
* Specifies the AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
*
AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
*/
public void setAdvancedOptions(AdvancedOptionsStatus advancedOptions) {
this.advancedOptions = advancedOptions;
}
/**
*
* Specifies the AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
*
AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
*/
public AdvancedOptionsStatus getAdvancedOptions() {
return this.advancedOptions;
}
/**
*
* Specifies the AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
*
AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withAdvancedOptions(AdvancedOptionsStatus advancedOptions) {
setAdvancedOptions(advancedOptions);
return this;
}
/**
* * Log publishing options for the given domain. *
* * @param logPublishingOptions * Log publishing options for the given domain. */ public void setLogPublishingOptions(LogPublishingOptionsStatus logPublishingOptions) { this.logPublishingOptions = logPublishingOptions; } /** ** Log publishing options for the given domain. *
* * @return Log publishing options for the given domain. */ public LogPublishingOptionsStatus getLogPublishingOptions() { return this.logPublishingOptions; } /** ** Log publishing options for the given domain. *
* * @param logPublishingOptions * Log publishing options for the given domain. * @return Returns a reference to this object so that method calls can be chained together. */ public ElasticsearchDomainConfig withLogPublishingOptions(LogPublishingOptionsStatus logPublishingOptions) { setLogPublishingOptions(logPublishingOptions); return this; } /** *
* Specifies the DomainEndpointOptions
for the Elasticsearch domain.
*
DomainEndpointOptions
for the Elasticsearch domain.
*/
public void setDomainEndpointOptions(DomainEndpointOptionsStatus domainEndpointOptions) {
this.domainEndpointOptions = domainEndpointOptions;
}
/**
*
* Specifies the DomainEndpointOptions
for the Elasticsearch domain.
*
DomainEndpointOptions
for the Elasticsearch domain.
*/
public DomainEndpointOptionsStatus getDomainEndpointOptions() {
return this.domainEndpointOptions;
}
/**
*
* Specifies the DomainEndpointOptions
for the Elasticsearch domain.
*
DomainEndpointOptions
for the Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withDomainEndpointOptions(DomainEndpointOptionsStatus domainEndpointOptions) {
setDomainEndpointOptions(domainEndpointOptions);
return this;
}
/**
*
* Specifies AdvancedSecurityOptions
for the domain.
*
AdvancedSecurityOptions
for the domain.
*/
public void setAdvancedSecurityOptions(AdvancedSecurityOptionsStatus advancedSecurityOptions) {
this.advancedSecurityOptions = advancedSecurityOptions;
}
/**
*
* Specifies AdvancedSecurityOptions
for the domain.
*
AdvancedSecurityOptions
for the domain.
*/
public AdvancedSecurityOptionsStatus getAdvancedSecurityOptions() {
return this.advancedSecurityOptions;
}
/**
*
* Specifies AdvancedSecurityOptions
for the domain.
*
AdvancedSecurityOptions
for the domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withAdvancedSecurityOptions(AdvancedSecurityOptionsStatus advancedSecurityOptions) {
setAdvancedSecurityOptions(advancedSecurityOptions);
return this;
}
/**
*
* Specifies AutoTuneOptions
for the domain.
*
AutoTuneOptions
for the domain.
*/
public void setAutoTuneOptions(AutoTuneOptionsStatus autoTuneOptions) {
this.autoTuneOptions = autoTuneOptions;
}
/**
*
* Specifies AutoTuneOptions
for the domain.
*
AutoTuneOptions
for the domain.
*/
public AutoTuneOptionsStatus getAutoTuneOptions() {
return this.autoTuneOptions;
}
/**
*
* Specifies AutoTuneOptions
for the domain.
*
AutoTuneOptions
for the domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ElasticsearchDomainConfig withAutoTuneOptions(AutoTuneOptionsStatus autoTuneOptions) {
setAutoTuneOptions(autoTuneOptions);
return this;
}
/**
* * Specifies change details of the domain configuration change. *
* * @param changeProgressDetails * Specifies change details of the domain configuration change. */ public void setChangeProgressDetails(ChangeProgressDetails changeProgressDetails) { this.changeProgressDetails = changeProgressDetails; } /** ** Specifies change details of the domain configuration change. *
* * @return Specifies change details of the domain configuration change. */ public ChangeProgressDetails getChangeProgressDetails() { return this.changeProgressDetails; } /** ** Specifies change details of the domain configuration change. *
* * @param changeProgressDetails * Specifies change details of the domain configuration change. * @return Returns a reference to this object so that method calls can be chained together. */ public ElasticsearchDomainConfig withChangeProgressDetails(ChangeProgressDetails changeProgressDetails) { setChangeProgressDetails(changeProgressDetails); 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 (getElasticsearchVersion() != null) sb.append("ElasticsearchVersion: ").append(getElasticsearchVersion()).append(","); if (getElasticsearchClusterConfig() != null) sb.append("ElasticsearchClusterConfig: ").append(getElasticsearchClusterConfig()).append(","); if (getEBSOptions() != null) sb.append("EBSOptions: ").append(getEBSOptions()).append(","); if (getAccessPolicies() != null) sb.append("AccessPolicies: ").append(getAccessPolicies()).append(","); if (getSnapshotOptions() != null) sb.append("SnapshotOptions: ").append(getSnapshotOptions()).append(","); if (getVPCOptions() != null) sb.append("VPCOptions: ").append(getVPCOptions()).append(","); if (getCognitoOptions() != null) sb.append("CognitoOptions: ").append(getCognitoOptions()).append(","); if (getEncryptionAtRestOptions() != null) sb.append("EncryptionAtRestOptions: ").append(getEncryptionAtRestOptions()).append(","); if (getNodeToNodeEncryptionOptions() != null) sb.append("NodeToNodeEncryptionOptions: ").append(getNodeToNodeEncryptionOptions()).append(","); if (getAdvancedOptions() != null) sb.append("AdvancedOptions: ").append(getAdvancedOptions()).append(","); if (getLogPublishingOptions() != null) sb.append("LogPublishingOptions: ").append(getLogPublishingOptions()).append(","); if (getDomainEndpointOptions() != null) sb.append("DomainEndpointOptions: ").append(getDomainEndpointOptions()).append(","); if (getAdvancedSecurityOptions() != null) sb.append("AdvancedSecurityOptions: ").append(getAdvancedSecurityOptions()).append(","); if (getAutoTuneOptions() != null) sb.append("AutoTuneOptions: ").append(getAutoTuneOptions()).append(","); if (getChangeProgressDetails() != null) sb.append("ChangeProgressDetails: ").append(getChangeProgressDetails()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ElasticsearchDomainConfig == false) return false; ElasticsearchDomainConfig other = (ElasticsearchDomainConfig) obj; if (other.getElasticsearchVersion() == null ^ this.getElasticsearchVersion() == null) return false; if (other.getElasticsearchVersion() != null && other.getElasticsearchVersion().equals(this.getElasticsearchVersion()) == false) return false; if (other.getElasticsearchClusterConfig() == null ^ this.getElasticsearchClusterConfig() == null) return false; if (other.getElasticsearchClusterConfig() != null && other.getElasticsearchClusterConfig().equals(this.getElasticsearchClusterConfig()) == false) return false; if (other.getEBSOptions() == null ^ this.getEBSOptions() == null) return false; if (other.getEBSOptions() != null && other.getEBSOptions().equals(this.getEBSOptions()) == false) return false; if (other.getAccessPolicies() == null ^ this.getAccessPolicies() == null) return false; if (other.getAccessPolicies() != null && other.getAccessPolicies().equals(this.getAccessPolicies()) == false) return false; if (other.getSnapshotOptions() == null ^ this.getSnapshotOptions() == null) return false; if (other.getSnapshotOptions() != null && other.getSnapshotOptions().equals(this.getSnapshotOptions()) == false) return false; if (other.getVPCOptions() == null ^ this.getVPCOptions() == null) return false; if (other.getVPCOptions() != null && other.getVPCOptions().equals(this.getVPCOptions()) == false) return false; if (other.getCognitoOptions() == null ^ this.getCognitoOptions() == null) return false; if (other.getCognitoOptions() != null && other.getCognitoOptions().equals(this.getCognitoOptions()) == false) return false; if (other.getEncryptionAtRestOptions() == null ^ this.getEncryptionAtRestOptions() == null) return false; if (other.getEncryptionAtRestOptions() != null && other.getEncryptionAtRestOptions().equals(this.getEncryptionAtRestOptions()) == false) return false; if (other.getNodeToNodeEncryptionOptions() == null ^ this.getNodeToNodeEncryptionOptions() == null) return false; if (other.getNodeToNodeEncryptionOptions() != null && other.getNodeToNodeEncryptionOptions().equals(this.getNodeToNodeEncryptionOptions()) == false) return false; if (other.getAdvancedOptions() == null ^ this.getAdvancedOptions() == null) return false; if (other.getAdvancedOptions() != null && other.getAdvancedOptions().equals(this.getAdvancedOptions()) == false) return false; if (other.getLogPublishingOptions() == null ^ this.getLogPublishingOptions() == null) return false; if (other.getLogPublishingOptions() != null && other.getLogPublishingOptions().equals(this.getLogPublishingOptions()) == false) return false; if (other.getDomainEndpointOptions() == null ^ this.getDomainEndpointOptions() == null) return false; if (other.getDomainEndpointOptions() != null && other.getDomainEndpointOptions().equals(this.getDomainEndpointOptions()) == false) return false; if (other.getAdvancedSecurityOptions() == null ^ this.getAdvancedSecurityOptions() == null) return false; if (other.getAdvancedSecurityOptions() != null && other.getAdvancedSecurityOptions().equals(this.getAdvancedSecurityOptions()) == false) return false; if (other.getAutoTuneOptions() == null ^ this.getAutoTuneOptions() == null) return false; if (other.getAutoTuneOptions() != null && other.getAutoTuneOptions().equals(this.getAutoTuneOptions()) == false) return false; if (other.getChangeProgressDetails() == null ^ this.getChangeProgressDetails() == null) return false; if (other.getChangeProgressDetails() != null && other.getChangeProgressDetails().equals(this.getChangeProgressDetails()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getElasticsearchVersion() == null) ? 0 : getElasticsearchVersion().hashCode()); hashCode = prime * hashCode + ((getElasticsearchClusterConfig() == null) ? 0 : getElasticsearchClusterConfig().hashCode()); hashCode = prime * hashCode + ((getEBSOptions() == null) ? 0 : getEBSOptions().hashCode()); hashCode = prime * hashCode + ((getAccessPolicies() == null) ? 0 : getAccessPolicies().hashCode()); hashCode = prime * hashCode + ((getSnapshotOptions() == null) ? 0 : getSnapshotOptions().hashCode()); hashCode = prime * hashCode + ((getVPCOptions() == null) ? 0 : getVPCOptions().hashCode()); hashCode = prime * hashCode + ((getCognitoOptions() == null) ? 0 : getCognitoOptions().hashCode()); hashCode = prime * hashCode + ((getEncryptionAtRestOptions() == null) ? 0 : getEncryptionAtRestOptions().hashCode()); hashCode = prime * hashCode + ((getNodeToNodeEncryptionOptions() == null) ? 0 : getNodeToNodeEncryptionOptions().hashCode()); hashCode = prime * hashCode + ((getAdvancedOptions() == null) ? 0 : getAdvancedOptions().hashCode()); hashCode = prime * hashCode + ((getLogPublishingOptions() == null) ? 0 : getLogPublishingOptions().hashCode()); hashCode = prime * hashCode + ((getDomainEndpointOptions() == null) ? 0 : getDomainEndpointOptions().hashCode()); hashCode = prime * hashCode + ((getAdvancedSecurityOptions() == null) ? 0 : getAdvancedSecurityOptions().hashCode()); hashCode = prime * hashCode + ((getAutoTuneOptions() == null) ? 0 : getAutoTuneOptions().hashCode()); hashCode = prime * hashCode + ((getChangeProgressDetails() == null) ? 0 : getChangeProgressDetails().hashCode()); return hashCode; } @Override public ElasticsearchDomainConfig clone() { try { return (ElasticsearchDomainConfig) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.elasticsearch.model.transform.ElasticsearchDomainConfigMarshaller.getInstance().marshall(this, protocolMarshaller); } }