/* * 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.opensearch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Container for the configuration of an OpenSearch Service domain. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DomainConfig implements Serializable, Cloneable, StructuredPojo { /** *

* The OpenSearch or Elasticsearch version that the domain is running. *

*/ private VersionStatus engineVersion; /** *

* Container for the cluster configuration of a the domain. *

*/ private ClusterConfigStatus clusterConfig; /** *

* Container for EBS options configured for the domain. *

*/ private EBSOptionsStatus eBSOptions; /** *

* Specifies the access policies for the domain. *

*/ private AccessPoliciesStatus accessPolicies; /** *

* DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes. *

*/ private SnapshotOptionsStatus snapshotOptions; /** *

* The current VPC options for the domain and the status of any updates to their configuration. *

*/ private VPCDerivedInfoStatus vPCOptions; /** *

* Container for Amazon Cognito options for the domain. *

*/ private CognitoOptionsStatus cognitoOptions; /** *

* Key-value pairs to enable encryption at rest. *

*/ private EncryptionAtRestOptionsStatus encryptionAtRestOptions; /** *

* Whether node-to-node encryption is enabled or disabled. *

*/ private NodeToNodeEncryptionOptionsStatus nodeToNodeEncryptionOptions; /** *

* Key-value pairs to specify advanced configuration options. For more information, see Advanced options. *

*/ private AdvancedOptionsStatus advancedOptions; /** *

* Key-value pairs to configure log publishing. *

*/ private LogPublishingOptionsStatus logPublishingOptions; /** *

* Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. *

*/ private DomainEndpointOptionsStatus domainEndpointOptions; /** *

* Container for fine-grained access control settings for the domain. *

*/ private AdvancedSecurityOptionsStatus advancedSecurityOptions; /** *

* Container for Auto-Tune settings for the domain. *

*/ private AutoTuneOptionsStatus autoTuneOptions; /** *

* Container for information about the progress of an existing configuration change. *

*/ private ChangeProgressDetails changeProgressDetails; /** *

* Container for off-peak window options for the domain. *

*/ private OffPeakWindowOptionsStatus offPeakWindowOptions; /** *

* Software update options for the domain. *

*/ private SoftwareUpdateOptionsStatus softwareUpdateOptions; /** *

* The OpenSearch or Elasticsearch version that the domain is running. *

* * @param engineVersion * The OpenSearch or Elasticsearch version that the domain is running. */ public void setEngineVersion(VersionStatus engineVersion) { this.engineVersion = engineVersion; } /** *

* The OpenSearch or Elasticsearch version that the domain is running. *

* * @return The OpenSearch or Elasticsearch version that the domain is running. */ public VersionStatus getEngineVersion() { return this.engineVersion; } /** *

* The OpenSearch or Elasticsearch version that the domain is running. *

* * @param engineVersion * The OpenSearch or Elasticsearch version that the domain is running. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withEngineVersion(VersionStatus engineVersion) { setEngineVersion(engineVersion); return this; } /** *

* Container for the cluster configuration of a the domain. *

* * @param clusterConfig * Container for the cluster configuration of a the domain. */ public void setClusterConfig(ClusterConfigStatus clusterConfig) { this.clusterConfig = clusterConfig; } /** *

* Container for the cluster configuration of a the domain. *

* * @return Container for the cluster configuration of a the domain. */ public ClusterConfigStatus getClusterConfig() { return this.clusterConfig; } /** *

* Container for the cluster configuration of a the domain. *

* * @param clusterConfig * Container for the cluster configuration of a the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withClusterConfig(ClusterConfigStatus clusterConfig) { setClusterConfig(clusterConfig); return this; } /** *

* Container for EBS options configured for the domain. *

* * @param eBSOptions * Container for EBS options configured for the domain. */ public void setEBSOptions(EBSOptionsStatus eBSOptions) { this.eBSOptions = eBSOptions; } /** *

* Container for EBS options configured for the domain. *

* * @return Container for EBS options configured for the domain. */ public EBSOptionsStatus getEBSOptions() { return this.eBSOptions; } /** *

* Container for EBS options configured for the domain. *

* * @param eBSOptions * Container for EBS options configured for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withEBSOptions(EBSOptionsStatus eBSOptions) { setEBSOptions(eBSOptions); return this; } /** *

* Specifies the access policies for the domain. *

* * @param accessPolicies * Specifies the access policies for the domain. */ public void setAccessPolicies(AccessPoliciesStatus accessPolicies) { this.accessPolicies = accessPolicies; } /** *

* Specifies the access policies for the domain. *

* * @return Specifies the access policies for the domain. */ public AccessPoliciesStatus getAccessPolicies() { return this.accessPolicies; } /** *

* Specifies the access policies for the domain. *

* * @param accessPolicies * Specifies the access policies for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withAccessPolicies(AccessPoliciesStatus accessPolicies) { setAccessPolicies(accessPolicies); return this; } /** *

* DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes. *

* * @param snapshotOptions * DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes. */ public void setSnapshotOptions(SnapshotOptionsStatus snapshotOptions) { this.snapshotOptions = snapshotOptions; } /** *

* DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes. *

* * @return DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes. */ public SnapshotOptionsStatus getSnapshotOptions() { return this.snapshotOptions; } /** *

* DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes. *

* * @param snapshotOptions * DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withSnapshotOptions(SnapshotOptionsStatus snapshotOptions) { setSnapshotOptions(snapshotOptions); return this; } /** *

* The current VPC options for the domain and the status of any updates to their configuration. *

* * @param vPCOptions * The current VPC options for the domain and the status of any updates to their configuration. */ public void setVPCOptions(VPCDerivedInfoStatus vPCOptions) { this.vPCOptions = vPCOptions; } /** *

* The current VPC options for the domain and the status of any updates to their configuration. *

* * @return The current VPC options for the domain and the status of any updates to their configuration. */ public VPCDerivedInfoStatus getVPCOptions() { return this.vPCOptions; } /** *

* The current VPC options for the domain and the status of any updates to their configuration. *

* * @param vPCOptions * The current VPC options for the domain and the status of any updates to their configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withVPCOptions(VPCDerivedInfoStatus vPCOptions) { setVPCOptions(vPCOptions); return this; } /** *

* Container for Amazon Cognito options for the domain. *

* * @param cognitoOptions * Container for Amazon Cognito options for the domain. */ public void setCognitoOptions(CognitoOptionsStatus cognitoOptions) { this.cognitoOptions = cognitoOptions; } /** *

* Container for Amazon Cognito options for the domain. *

* * @return Container for Amazon Cognito options for the domain. */ public CognitoOptionsStatus getCognitoOptions() { return this.cognitoOptions; } /** *

* Container for Amazon Cognito options for the domain. *

* * @param cognitoOptions * Container for Amazon Cognito options for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withCognitoOptions(CognitoOptionsStatus cognitoOptions) { setCognitoOptions(cognitoOptions); return this; } /** *

* Key-value pairs to enable encryption at rest. *

* * @param encryptionAtRestOptions * Key-value pairs to enable encryption at rest. */ public void setEncryptionAtRestOptions(EncryptionAtRestOptionsStatus encryptionAtRestOptions) { this.encryptionAtRestOptions = encryptionAtRestOptions; } /** *

* Key-value pairs to enable encryption at rest. *

* * @return Key-value pairs to enable encryption at rest. */ public EncryptionAtRestOptionsStatus getEncryptionAtRestOptions() { return this.encryptionAtRestOptions; } /** *

* Key-value pairs to enable encryption at rest. *

* * @param encryptionAtRestOptions * Key-value pairs to enable encryption at rest. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withEncryptionAtRestOptions(EncryptionAtRestOptionsStatus encryptionAtRestOptions) { setEncryptionAtRestOptions(encryptionAtRestOptions); return this; } /** *

* Whether node-to-node encryption is enabled or disabled. *

* * @param nodeToNodeEncryptionOptions * Whether node-to-node encryption is enabled or disabled. */ public void setNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsStatus nodeToNodeEncryptionOptions) { this.nodeToNodeEncryptionOptions = nodeToNodeEncryptionOptions; } /** *

* Whether node-to-node encryption is enabled or disabled. *

* * @return Whether node-to-node encryption is enabled or disabled. */ public NodeToNodeEncryptionOptionsStatus getNodeToNodeEncryptionOptions() { return this.nodeToNodeEncryptionOptions; } /** *

* Whether node-to-node encryption is enabled or disabled. *

* * @param nodeToNodeEncryptionOptions * Whether node-to-node encryption is enabled or disabled. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsStatus nodeToNodeEncryptionOptions) { setNodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions); return this; } /** *

* Key-value pairs to specify advanced configuration options. For more information, see Advanced options. *

* * @param advancedOptions * Key-value pairs to specify advanced configuration options. For more information, see Advanced options. */ public void setAdvancedOptions(AdvancedOptionsStatus advancedOptions) { this.advancedOptions = advancedOptions; } /** *

* Key-value pairs to specify advanced configuration options. For more information, see Advanced options. *

* * @return Key-value pairs to specify advanced configuration options. For more information, see Advanced options. */ public AdvancedOptionsStatus getAdvancedOptions() { return this.advancedOptions; } /** *

* Key-value pairs to specify advanced configuration options. For more information, see Advanced options. *

* * @param advancedOptions * Key-value pairs to specify advanced configuration options. For more information, see Advanced options. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withAdvancedOptions(AdvancedOptionsStatus advancedOptions) { setAdvancedOptions(advancedOptions); return this; } /** *

* Key-value pairs to configure log publishing. *

* * @param logPublishingOptions * Key-value pairs to configure log publishing. */ public void setLogPublishingOptions(LogPublishingOptionsStatus logPublishingOptions) { this.logPublishingOptions = logPublishingOptions; } /** *

* Key-value pairs to configure log publishing. *

* * @return Key-value pairs to configure log publishing. */ public LogPublishingOptionsStatus getLogPublishingOptions() { return this.logPublishingOptions; } /** *

* Key-value pairs to configure log publishing. *

* * @param logPublishingOptions * Key-value pairs to configure log publishing. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withLogPublishingOptions(LogPublishingOptionsStatus logPublishingOptions) { setLogPublishingOptions(logPublishingOptions); return this; } /** *

* Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. *

* * @param domainEndpointOptions * Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. */ public void setDomainEndpointOptions(DomainEndpointOptionsStatus domainEndpointOptions) { this.domainEndpointOptions = domainEndpointOptions; } /** *

* Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. *

* * @return Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. */ public DomainEndpointOptionsStatus getDomainEndpointOptions() { return this.domainEndpointOptions; } /** *

* Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. *

* * @param domainEndpointOptions * Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withDomainEndpointOptions(DomainEndpointOptionsStatus domainEndpointOptions) { setDomainEndpointOptions(domainEndpointOptions); return this; } /** *

* Container for fine-grained access control settings for the domain. *

* * @param advancedSecurityOptions * Container for fine-grained access control settings for the domain. */ public void setAdvancedSecurityOptions(AdvancedSecurityOptionsStatus advancedSecurityOptions) { this.advancedSecurityOptions = advancedSecurityOptions; } /** *

* Container for fine-grained access control settings for the domain. *

* * @return Container for fine-grained access control settings for the domain. */ public AdvancedSecurityOptionsStatus getAdvancedSecurityOptions() { return this.advancedSecurityOptions; } /** *

* Container for fine-grained access control settings for the domain. *

* * @param advancedSecurityOptions * Container for fine-grained access control settings for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withAdvancedSecurityOptions(AdvancedSecurityOptionsStatus advancedSecurityOptions) { setAdvancedSecurityOptions(advancedSecurityOptions); return this; } /** *

* Container for Auto-Tune settings for the domain. *

* * @param autoTuneOptions * Container for Auto-Tune settings for the domain. */ public void setAutoTuneOptions(AutoTuneOptionsStatus autoTuneOptions) { this.autoTuneOptions = autoTuneOptions; } /** *

* Container for Auto-Tune settings for the domain. *

* * @return Container for Auto-Tune settings for the domain. */ public AutoTuneOptionsStatus getAutoTuneOptions() { return this.autoTuneOptions; } /** *

* Container for Auto-Tune settings for the domain. *

* * @param autoTuneOptions * Container for Auto-Tune settings for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withAutoTuneOptions(AutoTuneOptionsStatus autoTuneOptions) { setAutoTuneOptions(autoTuneOptions); return this; } /** *

* Container for information about the progress of an existing configuration change. *

* * @param changeProgressDetails * Container for information about the progress of an existing configuration change. */ public void setChangeProgressDetails(ChangeProgressDetails changeProgressDetails) { this.changeProgressDetails = changeProgressDetails; } /** *

* Container for information about the progress of an existing configuration change. *

* * @return Container for information about the progress of an existing configuration change. */ public ChangeProgressDetails getChangeProgressDetails() { return this.changeProgressDetails; } /** *

* Container for information about the progress of an existing configuration change. *

* * @param changeProgressDetails * Container for information about the progress of an existing configuration change. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withChangeProgressDetails(ChangeProgressDetails changeProgressDetails) { setChangeProgressDetails(changeProgressDetails); return this; } /** *

* Container for off-peak window options for the domain. *

* * @param offPeakWindowOptions * Container for off-peak window options for the domain. */ public void setOffPeakWindowOptions(OffPeakWindowOptionsStatus offPeakWindowOptions) { this.offPeakWindowOptions = offPeakWindowOptions; } /** *

* Container for off-peak window options for the domain. *

* * @return Container for off-peak window options for the domain. */ public OffPeakWindowOptionsStatus getOffPeakWindowOptions() { return this.offPeakWindowOptions; } /** *

* Container for off-peak window options for the domain. *

* * @param offPeakWindowOptions * Container for off-peak window options for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withOffPeakWindowOptions(OffPeakWindowOptionsStatus offPeakWindowOptions) { setOffPeakWindowOptions(offPeakWindowOptions); return this; } /** *

* Software update options for the domain. *

* * @param softwareUpdateOptions * Software update options for the domain. */ public void setSoftwareUpdateOptions(SoftwareUpdateOptionsStatus softwareUpdateOptions) { this.softwareUpdateOptions = softwareUpdateOptions; } /** *

* Software update options for the domain. *

* * @return Software update options for the domain. */ public SoftwareUpdateOptionsStatus getSoftwareUpdateOptions() { return this.softwareUpdateOptions; } /** *

* Software update options for the domain. *

* * @param softwareUpdateOptions * Software update options for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DomainConfig withSoftwareUpdateOptions(SoftwareUpdateOptionsStatus softwareUpdateOptions) { setSoftwareUpdateOptions(softwareUpdateOptions); 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 (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getClusterConfig() != null) sb.append("ClusterConfig: ").append(getClusterConfig()).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()).append(","); if (getOffPeakWindowOptions() != null) sb.append("OffPeakWindowOptions: ").append(getOffPeakWindowOptions()).append(","); if (getSoftwareUpdateOptions() != null) sb.append("SoftwareUpdateOptions: ").append(getSoftwareUpdateOptions()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DomainConfig == false) return false; DomainConfig other = (DomainConfig) obj; if (other.getEngineVersion() == null ^ this.getEngineVersion() == null) return false; if (other.getEngineVersion() != null && other.getEngineVersion().equals(this.getEngineVersion()) == false) return false; if (other.getClusterConfig() == null ^ this.getClusterConfig() == null) return false; if (other.getClusterConfig() != null && other.getClusterConfig().equals(this.getClusterConfig()) == 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; if (other.getOffPeakWindowOptions() == null ^ this.getOffPeakWindowOptions() == null) return false; if (other.getOffPeakWindowOptions() != null && other.getOffPeakWindowOptions().equals(this.getOffPeakWindowOptions()) == false) return false; if (other.getSoftwareUpdateOptions() == null ^ this.getSoftwareUpdateOptions() == null) return false; if (other.getSoftwareUpdateOptions() != null && other.getSoftwareUpdateOptions().equals(this.getSoftwareUpdateOptions()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getClusterConfig() == null) ? 0 : getClusterConfig().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()); hashCode = prime * hashCode + ((getOffPeakWindowOptions() == null) ? 0 : getOffPeakWindowOptions().hashCode()); hashCode = prime * hashCode + ((getSoftwareUpdateOptions() == null) ? 0 : getSoftwareUpdateOptions().hashCode()); return hashCode; } @Override public DomainConfig clone() { try { return (DomainConfig) 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.opensearch.model.transform.DomainConfigMarshaller.getInstance().marshall(this, protocolMarshaller); } }