com.amazonaws.services.securityhub.model.AwsElasticsearchDomainDetails Maven / Gradle / Ivy
Show all versions of aws-java-sdk-securityhub Show documentation
/*
* Copyright 2019-2024 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.securityhub.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
*
* Information about an Elasticsearch domain.
*
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class AwsElasticsearchDomainDetails implements Serializable, Cloneable, StructuredPojo {
/**
*
* IAM policy document specifying the access policies for the new Elasticsearch domain.
*
*/
private String accessPolicies;
/**
*
* Additional options for the domain endpoint.
*
*/
private AwsElasticsearchDomainDomainEndpointOptions domainEndpointOptions;
/**
*
* Unique identifier for an Elasticsearch domain.
*
*/
private String domainId;
/**
*
* Name of an Elasticsearch domain.
*
*
* Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
*
*
* Domain names must start with a lowercase letter and must be between 3 and 28 characters.
*
*
* Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
*
*/
private String domainName;
/**
*
* Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.
*
*
* The endpoint is a service URL.
*
*/
private String endpoint;
/**
*
* The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
*
*/
private java.util.Map endpoints;
/**
*
* OpenSearch version.
*
*/
private String elasticsearchVersion;
/**
*
* Information about an OpenSearch cluster configuration.
*
*/
private AwsElasticsearchDomainElasticsearchClusterConfigDetails elasticsearchClusterConfig;
/**
*
* Details about the configuration for encryption at rest.
*
*/
private AwsElasticsearchDomainEncryptionAtRestOptions encryptionAtRestOptions;
/**
*
* Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*
*/
private AwsElasticsearchDomainLogPublishingOptions logPublishingOptions;
/**
*
* Details about the configuration for node-to-node encryption.
*
*/
private AwsElasticsearchDomainNodeToNodeEncryptionOptions nodeToNodeEncryptionOptions;
/**
*
* Information about the status of a domain relative to the latest service software.
*
*/
private AwsElasticsearchDomainServiceSoftwareOptions serviceSoftwareOptions;
/**
*
* Information that OpenSearch derives based on VPCOptions
for the domain.
*
*/
private AwsElasticsearchDomainVPCOptions vPCOptions;
/**
*
* IAM policy document specifying the access policies for the new Elasticsearch domain.
*
*
* @param accessPolicies
* IAM policy document specifying the access policies for the new Elasticsearch domain.
*/
public void setAccessPolicies(String accessPolicies) {
this.accessPolicies = accessPolicies;
}
/**
*
* IAM policy document specifying the access policies for the new Elasticsearch domain.
*
*
* @return IAM policy document specifying the access policies for the new Elasticsearch domain.
*/
public String getAccessPolicies() {
return this.accessPolicies;
}
/**
*
* IAM policy document specifying the access policies for the new Elasticsearch domain.
*
*
* @param accessPolicies
* IAM policy document specifying the access policies for the new Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withAccessPolicies(String accessPolicies) {
setAccessPolicies(accessPolicies);
return this;
}
/**
*
* Additional options for the domain endpoint.
*
*
* @param domainEndpointOptions
* Additional options for the domain endpoint.
*/
public void setDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions domainEndpointOptions) {
this.domainEndpointOptions = domainEndpointOptions;
}
/**
*
* Additional options for the domain endpoint.
*
*
* @return Additional options for the domain endpoint.
*/
public AwsElasticsearchDomainDomainEndpointOptions getDomainEndpointOptions() {
return this.domainEndpointOptions;
}
/**
*
* Additional options for the domain endpoint.
*
*
* @param domainEndpointOptions
* Additional options for the domain endpoint.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions domainEndpointOptions) {
setDomainEndpointOptions(domainEndpointOptions);
return this;
}
/**
*
* Unique identifier for an Elasticsearch domain.
*
*
* @param domainId
* Unique identifier for an Elasticsearch domain.
*/
public void setDomainId(String domainId) {
this.domainId = domainId;
}
/**
*
* Unique identifier for an Elasticsearch domain.
*
*
* @return Unique identifier for an Elasticsearch domain.
*/
public String getDomainId() {
return this.domainId;
}
/**
*
* Unique identifier for an Elasticsearch domain.
*
*
* @param domainId
* Unique identifier for an Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withDomainId(String domainId) {
setDomainId(domainId);
return this;
}
/**
*
* Name of an Elasticsearch domain.
*
*
* Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
*
*
* Domain names must start with a lowercase letter and must be between 3 and 28 characters.
*
*
* Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
*
*
* @param domainName
* Name of an Elasticsearch domain.
*
* Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
*
*
* Domain names must start with a lowercase letter and must be between 3 and 28 characters.
*
*
* Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
*/
public void setDomainName(String domainName) {
this.domainName = domainName;
}
/**
*
* Name of an Elasticsearch domain.
*
*
* Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
*
*
* Domain names must start with a lowercase letter and must be between 3 and 28 characters.
*
*
* Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
*
*
* @return Name of an Elasticsearch domain.
*
* Domain names are unique across all domains owned by the same account within an Amazon Web Services
* Region.
*
*
* Domain names must start with a lowercase letter and must be between 3 and 28 characters.
*
*
* Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
*/
public String getDomainName() {
return this.domainName;
}
/**
*
* Name of an Elasticsearch domain.
*
*
* Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
*
*
* Domain names must start with a lowercase letter and must be between 3 and 28 characters.
*
*
* Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
*
*
* @param domainName
* Name of an Elasticsearch domain.
*
* Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
*
*
* Domain names must start with a lowercase letter and must be between 3 and 28 characters.
*
*
* Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withDomainName(String domainName) {
setDomainName(domainName);
return this;
}
/**
*
* Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.
*
*
* The endpoint is a service URL.
*
*
* @param endpoint
* Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch
* domain.
*
* The endpoint is a service URL.
*/
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
/**
*
* Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.
*
*
* The endpoint is a service URL.
*
*
* @return Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch
* domain.
*
* The endpoint is a service URL.
*/
public String getEndpoint() {
return this.endpoint;
}
/**
*
* Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.
*
*
* The endpoint is a service URL.
*
*
* @param endpoint
* Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch
* domain.
*
* The endpoint is a service URL.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withEndpoint(String endpoint) {
setEndpoint(endpoint);
return this;
}
/**
*
* The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
*
*
* @return The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
*/
public java.util.Map getEndpoints() {
return endpoints;
}
/**
*
* The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
*
*
* @param endpoints
* The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
*/
public void setEndpoints(java.util.Map endpoints) {
this.endpoints = endpoints;
}
/**
*
* The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
*
*
* @param endpoints
* The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withEndpoints(java.util.Map endpoints) {
setEndpoints(endpoints);
return this;
}
/**
* Add a single Endpoints entry
*
* @see AwsElasticsearchDomainDetails#withEndpoints
* @returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails addEndpointsEntry(String key, String value) {
if (null == this.endpoints) {
this.endpoints = new java.util.HashMap();
}
if (this.endpoints.containsKey(key))
throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
this.endpoints.put(key, value);
return this;
}
/**
* Removes all the entries added into Endpoints.
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails clearEndpointsEntries() {
this.endpoints = null;
return this;
}
/**
*
* OpenSearch version.
*
*
* @param elasticsearchVersion
* OpenSearch version.
*/
public void setElasticsearchVersion(String elasticsearchVersion) {
this.elasticsearchVersion = elasticsearchVersion;
}
/**
*
* OpenSearch version.
*
*
* @return OpenSearch version.
*/
public String getElasticsearchVersion() {
return this.elasticsearchVersion;
}
/**
*
* OpenSearch version.
*
*
* @param elasticsearchVersion
* OpenSearch version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withElasticsearchVersion(String elasticsearchVersion) {
setElasticsearchVersion(elasticsearchVersion);
return this;
}
/**
*
* Information about an OpenSearch cluster configuration.
*
*
* @param elasticsearchClusterConfig
* Information about an OpenSearch cluster configuration.
*/
public void setElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails elasticsearchClusterConfig) {
this.elasticsearchClusterConfig = elasticsearchClusterConfig;
}
/**
*
* Information about an OpenSearch cluster configuration.
*
*
* @return Information about an OpenSearch cluster configuration.
*/
public AwsElasticsearchDomainElasticsearchClusterConfigDetails getElasticsearchClusterConfig() {
return this.elasticsearchClusterConfig;
}
/**
*
* Information about an OpenSearch cluster configuration.
*
*
* @param elasticsearchClusterConfig
* Information about an OpenSearch cluster configuration.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails elasticsearchClusterConfig) {
setElasticsearchClusterConfig(elasticsearchClusterConfig);
return this;
}
/**
*
* Details about the configuration for encryption at rest.
*
*
* @param encryptionAtRestOptions
* Details about the configuration for encryption at rest.
*/
public void setEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions encryptionAtRestOptions) {
this.encryptionAtRestOptions = encryptionAtRestOptions;
}
/**
*
* Details about the configuration for encryption at rest.
*
*
* @return Details about the configuration for encryption at rest.
*/
public AwsElasticsearchDomainEncryptionAtRestOptions getEncryptionAtRestOptions() {
return this.encryptionAtRestOptions;
}
/**
*
* Details about the configuration for encryption at rest.
*
*
* @param encryptionAtRestOptions
* Details about the configuration for encryption at rest.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions encryptionAtRestOptions) {
setEncryptionAtRestOptions(encryptionAtRestOptions);
return this;
}
/**
*
* Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*
*
* @param logPublishingOptions
* Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/
public void setLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions logPublishingOptions) {
this.logPublishingOptions = logPublishingOptions;
}
/**
*
* Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*
*
* @return Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/
public AwsElasticsearchDomainLogPublishingOptions getLogPublishingOptions() {
return this.logPublishingOptions;
}
/**
*
* Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*
*
* @param logPublishingOptions
* Configures the CloudWatch Logs to publish for the Elasticsearch domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions logPublishingOptions) {
setLogPublishingOptions(logPublishingOptions);
return this;
}
/**
*
* Details about the configuration for node-to-node encryption.
*
*
* @param nodeToNodeEncryptionOptions
* Details about the configuration for node-to-node encryption.
*/
public void setNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) {
this.nodeToNodeEncryptionOptions = nodeToNodeEncryptionOptions;
}
/**
*
* Details about the configuration for node-to-node encryption.
*
*
* @return Details about the configuration for node-to-node encryption.
*/
public AwsElasticsearchDomainNodeToNodeEncryptionOptions getNodeToNodeEncryptionOptions() {
return this.nodeToNodeEncryptionOptions;
}
/**
*
* Details about the configuration for node-to-node encryption.
*
*
* @param nodeToNodeEncryptionOptions
* Details about the configuration for node-to-node encryption.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) {
setNodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions);
return this;
}
/**
*
* Information about the status of a domain relative to the latest service software.
*
*
* @param serviceSoftwareOptions
* Information about the status of a domain relative to the latest service software.
*/
public void setServiceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions serviceSoftwareOptions) {
this.serviceSoftwareOptions = serviceSoftwareOptions;
}
/**
*
* Information about the status of a domain relative to the latest service software.
*
*
* @return Information about the status of a domain relative to the latest service software.
*/
public AwsElasticsearchDomainServiceSoftwareOptions getServiceSoftwareOptions() {
return this.serviceSoftwareOptions;
}
/**
*
* Information about the status of a domain relative to the latest service software.
*
*
* @param serviceSoftwareOptions
* Information about the status of a domain relative to the latest service software.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withServiceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions serviceSoftwareOptions) {
setServiceSoftwareOptions(serviceSoftwareOptions);
return this;
}
/**
*
* Information that OpenSearch derives based on VPCOptions
for the domain.
*
*
* @param vPCOptions
* Information that OpenSearch derives based on VPCOptions
for the domain.
*/
public void setVPCOptions(AwsElasticsearchDomainVPCOptions vPCOptions) {
this.vPCOptions = vPCOptions;
}
/**
*
* Information that OpenSearch derives based on VPCOptions
for the domain.
*
*
* @return Information that OpenSearch derives based on VPCOptions
for the domain.
*/
public AwsElasticsearchDomainVPCOptions getVPCOptions() {
return this.vPCOptions;
}
/**
*
* Information that OpenSearch derives based on VPCOptions
for the domain.
*
*
* @param vPCOptions
* Information that OpenSearch derives based on VPCOptions
for the domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsElasticsearchDomainDetails withVPCOptions(AwsElasticsearchDomainVPCOptions vPCOptions) {
setVPCOptions(vPCOptions);
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 (getAccessPolicies() != null)
sb.append("AccessPolicies: ").append(getAccessPolicies()).append(",");
if (getDomainEndpointOptions() != null)
sb.append("DomainEndpointOptions: ").append(getDomainEndpointOptions()).append(",");
if (getDomainId() != null)
sb.append("DomainId: ").append(getDomainId()).append(",");
if (getDomainName() != null)
sb.append("DomainName: ").append(getDomainName()).append(",");
if (getEndpoint() != null)
sb.append("Endpoint: ").append(getEndpoint()).append(",");
if (getEndpoints() != null)
sb.append("Endpoints: ").append(getEndpoints()).append(",");
if (getElasticsearchVersion() != null)
sb.append("ElasticsearchVersion: ").append(getElasticsearchVersion()).append(",");
if (getElasticsearchClusterConfig() != null)
sb.append("ElasticsearchClusterConfig: ").append(getElasticsearchClusterConfig()).append(",");
if (getEncryptionAtRestOptions() != null)
sb.append("EncryptionAtRestOptions: ").append(getEncryptionAtRestOptions()).append(",");
if (getLogPublishingOptions() != null)
sb.append("LogPublishingOptions: ").append(getLogPublishingOptions()).append(",");
if (getNodeToNodeEncryptionOptions() != null)
sb.append("NodeToNodeEncryptionOptions: ").append(getNodeToNodeEncryptionOptions()).append(",");
if (getServiceSoftwareOptions() != null)
sb.append("ServiceSoftwareOptions: ").append(getServiceSoftwareOptions()).append(",");
if (getVPCOptions() != null)
sb.append("VPCOptions: ").append(getVPCOptions());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof AwsElasticsearchDomainDetails == false)
return false;
AwsElasticsearchDomainDetails other = (AwsElasticsearchDomainDetails) obj;
if (other.getAccessPolicies() == null ^ this.getAccessPolicies() == null)
return false;
if (other.getAccessPolicies() != null && other.getAccessPolicies().equals(this.getAccessPolicies()) == 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.getDomainId() == null ^ this.getDomainId() == null)
return false;
if (other.getDomainId() != null && other.getDomainId().equals(this.getDomainId()) == false)
return false;
if (other.getDomainName() == null ^ this.getDomainName() == null)
return false;
if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false)
return false;
if (other.getEndpoint() == null ^ this.getEndpoint() == null)
return false;
if (other.getEndpoint() != null && other.getEndpoint().equals(this.getEndpoint()) == false)
return false;
if (other.getEndpoints() == null ^ this.getEndpoints() == null)
return false;
if (other.getEndpoints() != null && other.getEndpoints().equals(this.getEndpoints()) == false)
return false;
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.getEncryptionAtRestOptions() == null ^ this.getEncryptionAtRestOptions() == null)
return false;
if (other.getEncryptionAtRestOptions() != null && other.getEncryptionAtRestOptions().equals(this.getEncryptionAtRestOptions()) == 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.getNodeToNodeEncryptionOptions() == null ^ this.getNodeToNodeEncryptionOptions() == null)
return false;
if (other.getNodeToNodeEncryptionOptions() != null && other.getNodeToNodeEncryptionOptions().equals(this.getNodeToNodeEncryptionOptions()) == false)
return false;
if (other.getServiceSoftwareOptions() == null ^ this.getServiceSoftwareOptions() == null)
return false;
if (other.getServiceSoftwareOptions() != null && other.getServiceSoftwareOptions().equals(this.getServiceSoftwareOptions()) == false)
return false;
if (other.getVPCOptions() == null ^ this.getVPCOptions() == null)
return false;
if (other.getVPCOptions() != null && other.getVPCOptions().equals(this.getVPCOptions()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getAccessPolicies() == null) ? 0 : getAccessPolicies().hashCode());
hashCode = prime * hashCode + ((getDomainEndpointOptions() == null) ? 0 : getDomainEndpointOptions().hashCode());
hashCode = prime * hashCode + ((getDomainId() == null) ? 0 : getDomainId().hashCode());
hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode());
hashCode = prime * hashCode + ((getEndpoint() == null) ? 0 : getEndpoint().hashCode());
hashCode = prime * hashCode + ((getEndpoints() == null) ? 0 : getEndpoints().hashCode());
hashCode = prime * hashCode + ((getElasticsearchVersion() == null) ? 0 : getElasticsearchVersion().hashCode());
hashCode = prime * hashCode + ((getElasticsearchClusterConfig() == null) ? 0 : getElasticsearchClusterConfig().hashCode());
hashCode = prime * hashCode + ((getEncryptionAtRestOptions() == null) ? 0 : getEncryptionAtRestOptions().hashCode());
hashCode = prime * hashCode + ((getLogPublishingOptions() == null) ? 0 : getLogPublishingOptions().hashCode());
hashCode = prime * hashCode + ((getNodeToNodeEncryptionOptions() == null) ? 0 : getNodeToNodeEncryptionOptions().hashCode());
hashCode = prime * hashCode + ((getServiceSoftwareOptions() == null) ? 0 : getServiceSoftwareOptions().hashCode());
hashCode = prime * hashCode + ((getVPCOptions() == null) ? 0 : getVPCOptions().hashCode());
return hashCode;
}
@Override
public AwsElasticsearchDomainDetails clone() {
try {
return (AwsElasticsearchDomainDetails) 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.securityhub.model.transform.AwsElasticsearchDomainDetailsMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}