/* * 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.AmazonWebServiceRequest; /** *
* Container for the request parameters to the UpdateDomain
operation.
*
* The name of the domain that you're updating. *
*/ private String domainName; /** ** Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 * instances. *
*/ private ClusterConfig clusterConfig; /** ** The type and size of the EBS volume to attach to instances in the domain. *
*/ private EBSOptions eBSOptions; /** *
* Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0
hours.
*
* Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon * OpenSearch Service domains using a VPC. *
*/ private VPCOptions vPCOptions; /** ** Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards. *
*/ private CognitoOptions cognitoOptions; /** ** Key-value pairs to specify advanced configuration options. The following key-value pairs are supported: *
*
* "rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a
* boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you
* want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must
* disable this property. Default is true.
*
* "indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies
* the percentage of heap space allocated to field data. Default is unbounded.
*
* "indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean.
* Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more
* than the permitted number of clauses result in a TooManyClauses
error.
*
* For more information, see Advanced cluster parameters. *
*/ private java.util.Map* Identity and Access Management (IAM) access policy as a JSON-formatted string. *
*/ private String accessPolicies; /** ** Options to publish OpenSearch logs to Amazon CloudWatch Logs. *
*/ private java.util.Map* Encryption at rest options for the domain. *
*/ private EncryptionAtRestOptions encryptionAtRestOptions; /** ** Additional options for the domain endpoint, such as whether to require HTTPS for all traffic. *
*/ private DomainEndpointOptions domainEndpointOptions; /** ** Node-to-node encryption options for the domain. *
*/ private NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions; /** ** Options for fine-grained access control. *
*/ private AdvancedSecurityOptionsInput advancedSecurityOptions; /** ** Options for Auto-Tune. *
*/ private AutoTuneOptions autoTuneOptions; /** *
* This flag, when set to True, specifies whether the UpdateDomain
request should return the results of
* a dry run analysis without actually applying the change. A dry run determines what type of deployment the update
* will cause.
*
* The type of dry run to perform. *
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more information, see Validating a domain update.
*
* Off-peak window options for the domain. *
*/ private OffPeakWindowOptions offPeakWindowOptions; /** ** Service software update options for the domain. *
*/ private SoftwareUpdateOptions softwareUpdateOptions; /** ** The name of the domain that you're updating. *
* * @param domainName * The name of the domain that you're updating. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** ** The name of the domain that you're updating. *
* * @return The name of the domain that you're updating. */ public String getDomainName() { return this.domainName; } /** ** The name of the domain that you're updating. *
* * @param domainName * The name of the domain that you're updating. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainConfigRequest withDomainName(String domainName) { setDomainName(domainName); return this; } /** ** Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 * instances. *
* * @param clusterConfig * Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 * instances. */ public void setClusterConfig(ClusterConfig clusterConfig) { this.clusterConfig = clusterConfig; } /** ** Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 * instances. *
* * @return Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 * instances. */ public ClusterConfig getClusterConfig() { return this.clusterConfig; } /** ** Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 * instances. *
* * @param clusterConfig * Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 * instances. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainConfigRequest withClusterConfig(ClusterConfig clusterConfig) { setClusterConfig(clusterConfig); return this; } /** ** The type and size of the EBS volume to attach to instances in the domain. *
* * @param eBSOptions * The type and size of the EBS volume to attach to instances in the domain. */ public void setEBSOptions(EBSOptions eBSOptions) { this.eBSOptions = eBSOptions; } /** ** The type and size of the EBS volume to attach to instances in the domain. *
* * @return The type and size of the EBS volume to attach to instances in the domain. */ public EBSOptions getEBSOptions() { return this.eBSOptions; } /** ** The type and size of the EBS volume to attach to instances in the domain. *
* * @param eBSOptions * The type and size of the EBS volume to attach to instances in the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainConfigRequest withEBSOptions(EBSOptions eBSOptions) { setEBSOptions(eBSOptions); return this; } /** *
* Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0
hours.
*
0
* hours.
*/
public void setSnapshotOptions(SnapshotOptions snapshotOptions) {
this.snapshotOptions = snapshotOptions;
}
/**
*
* Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0
hours.
*
0
* hours.
*/
public SnapshotOptions getSnapshotOptions() {
return this.snapshotOptions;
}
/**
*
* Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0
hours.
*
0
* hours.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDomainConfigRequest withSnapshotOptions(SnapshotOptions snapshotOptions) {
setSnapshotOptions(snapshotOptions);
return this;
}
/**
* * Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon * OpenSearch Service domains using a VPC. *
* * @param vPCOptions * Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon * OpenSearch Service domains using a VPC. */ public void setVPCOptions(VPCOptions vPCOptions) { this.vPCOptions = vPCOptions; } /** ** Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon * OpenSearch Service domains using a VPC. *
* * @return Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your * Amazon OpenSearch Service domains using a VPC. */ public VPCOptions getVPCOptions() { return this.vPCOptions; } /** ** Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon * OpenSearch Service domains using a VPC. *
* * @param vPCOptions * Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon * OpenSearch Service domains using a VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainConfigRequest withVPCOptions(VPCOptions vPCOptions) { setVPCOptions(vPCOptions); return this; } /** ** Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards. *
* * @param cognitoOptions * Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards. */ public void setCognitoOptions(CognitoOptions cognitoOptions) { this.cognitoOptions = cognitoOptions; } /** ** Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards. *
* * @return Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards. */ public CognitoOptions getCognitoOptions() { return this.cognitoOptions; } /** ** Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards. *
* * @param cognitoOptions * Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainConfigRequest withCognitoOptions(CognitoOptions cognitoOptions) { setCognitoOptions(cognitoOptions); return this; } /** ** Key-value pairs to specify advanced configuration options. The following key-value pairs are supported: *
*
* "rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a
* boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you
* want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must
* disable this property. Default is true.
*
* "indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies
* the percentage of heap space allocated to field data. Default is unbounded.
*
* "indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean.
* Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more
* than the permitted number of clauses result in a TooManyClauses
error.
*
* For more information, see Advanced cluster parameters. *
* * @return Key-value pairs to specify advanced configuration options. The following key-value pairs are * supported: *
* "rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather
* than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP
* requests. If you want to configure access policies for domain sub-resources, such as specific indexes and
* domain APIs, you must disable this property. Default is true.
*
* "indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean.
* Specifies the percentage of heap space allocated to field data. Default is unbounded.
*
* "indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a
* boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024.
* Queries with more than the permitted number of clauses result in a TooManyClauses
error.
*
* For more information, see Advanced cluster parameters.
*/
public java.util.Map
* Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
*
*
*
*
* For more information, see Advanced cluster parameters.
*
*
* "rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a
* boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you
* want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must
* disable this property. Default is true.
* "indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies
* the percentage of heap space allocated to field data. Default is unbounded.
* "indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean.
* Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more
* than the permitted number of clauses result in a TooManyClauses
error.
*
* "rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather
* than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP
* requests. If you want to configure access policies for domain sub-resources, such as specific indexes and
* domain APIs, you must disable this property. Default is true.
*
* "indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean.
* Specifies the percentage of heap space allocated to field data. Default is unbounded.
*
* "indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a
* boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024.
* Queries with more than the permitted number of clauses result in a TooManyClauses
error.
*
* For more information, see Advanced cluster parameters.
*/
public void setAdvancedOptions(java.util.Map
* Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
*
*
*
*
* For more information, see Advanced cluster parameters.
*
*
* "rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a
* boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you
* want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must
* disable this property. Default is true.
* "indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies
* the percentage of heap space allocated to field data. Default is unbounded.
* "indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean.
* Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more
* than the permitted number of clauses result in a TooManyClauses
error.
*
* "rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather
* than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP
* requests. If you want to configure access policies for domain sub-resources, such as specific indexes and
* domain APIs, you must disable this property. Default is true.
*
* "indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean.
* Specifies the percentage of heap space allocated to field data. Default is unbounded.
*
* "indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a
* boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024.
* Queries with more than the permitted number of clauses result in a TooManyClauses
error.
*
* For more information, see Advanced cluster parameters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDomainConfigRequest withAdvancedOptions(java.util.Map
* Identity and Access Management (IAM) access policy as a JSON-formatted string.
*
* Identity and Access Management (IAM) access policy as a JSON-formatted string.
*
* Identity and Access Management (IAM) access policy as a JSON-formatted string.
*
* Options to publish OpenSearch logs to Amazon CloudWatch Logs.
*
* Options to publish OpenSearch logs to Amazon CloudWatch Logs.
*
* Options to publish OpenSearch logs to Amazon CloudWatch Logs.
*
* Encryption at rest options for the domain.
*
* Encryption at rest options for the domain.
*
* Encryption at rest options for the domain.
*
* Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
*
* Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
*
* Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
*
* Node-to-node encryption options for the domain.
*
* Node-to-node encryption options for the domain.
*
* Node-to-node encryption options for the domain.
*
* Options for fine-grained access control.
*
* Options for fine-grained access control.
*
* Options for fine-grained access control.
*
* Options for Auto-Tune.
*
* Options for Auto-Tune.
*
* Options for Auto-Tune.
*
* This flag, when set to True, specifies whether the
* This flag, when set to True, specifies whether the
* This flag, when set to True, specifies whether the
* This flag, when set to True, specifies whether the
* The type of dry run to perform.
*
*
* UpdateDomain
request should return the results of
* a dry run analysis without actually applying the change. A dry run determines what type of deployment the update
* will cause.
* UpdateDomain
request should return the
* results of a dry run analysis without actually applying the change. A dry run determines what type of
* deployment the update will cause.
*/
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
}
/**
* UpdateDomain
request should return the results of
* a dry run analysis without actually applying the change. A dry run determines what type of deployment the update
* will cause.
* UpdateDomain
request should return the
* results of a dry run analysis without actually applying the change. A dry run determines what type of
* deployment the update will cause.
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* UpdateDomain
request should return the results of
* a dry run analysis without actually applying the change. A dry run determines what type of deployment the update
* will cause.
* UpdateDomain
request should return the
* results of a dry run analysis without actually applying the change. A dry run determines what type of
* deployment the update will cause.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDomainConfigRequest withDryRun(Boolean dryRun) {
setDryRun(dryRun);
return this;
}
/**
* UpdateDomain
request should return the results of
* a dry run analysis without actually applying the change. A dry run determines what type of deployment the update
* will cause.
* UpdateDomain
request should return the
* results of a dry run analysis without actually applying the change. A dry run determines what type of
* deployment the update will cause.
*/
public Boolean isDryRun() {
return this.dryRun;
}
/**
*
*
*
* @param dryRunMode
* The type of dry run to perform.Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
* Verbose
runs an additional check to validate the changes you're making. For more information, see Validating a domain update.
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more information,
* see Validating a domain update.
*
* The type of dry run to perform. *
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more information, see Validating a domain update.
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will
* cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more
* information, see Validating a domain update.
*
* The type of dry run to perform. *
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more information, see Validating a domain update.
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more information,
* see Validating a domain update.
*
* The type of dry run to perform. *
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more information, see Validating a domain update.
*
* Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause.
*
* Verbose
runs an additional check to validate the changes you're making. For more information,
* see Validating a domain update.
*
* Off-peak window options for the domain. *
* * @param offPeakWindowOptions * Off-peak window options for the domain. */ public void setOffPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions) { this.offPeakWindowOptions = offPeakWindowOptions; } /** ** Off-peak window options for the domain. *
* * @return Off-peak window options for the domain. */ public OffPeakWindowOptions getOffPeakWindowOptions() { return this.offPeakWindowOptions; } /** ** Off-peak window options for the domain. *
* * @param offPeakWindowOptions * Off-peak window options for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainConfigRequest withOffPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions) { setOffPeakWindowOptions(offPeakWindowOptions); return this; } /** ** Service software update options for the domain. *
* * @param softwareUpdateOptions * Service software update options for the domain. */ public void setSoftwareUpdateOptions(SoftwareUpdateOptions softwareUpdateOptions) { this.softwareUpdateOptions = softwareUpdateOptions; } /** ** Service software update options for the domain. *
* * @return Service software update options for the domain. */ public SoftwareUpdateOptions getSoftwareUpdateOptions() { return this.softwareUpdateOptions; } /** ** Service software update options for the domain. *
* * @param softwareUpdateOptions * Service software update options for the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainConfigRequest withSoftwareUpdateOptions(SoftwareUpdateOptions 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 (getDomainName() != null) sb.append("DomainName: ").append(getDomainName()).append(","); if (getClusterConfig() != null) sb.append("ClusterConfig: ").append(getClusterConfig()).append(","); if (getEBSOptions() != null) sb.append("EBSOptions: ").append(getEBSOptions()).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 (getAdvancedOptions() != null) sb.append("AdvancedOptions: ").append(getAdvancedOptions()).append(","); if (getAccessPolicies() != null) sb.append("AccessPolicies: ").append(getAccessPolicies()).append(","); if (getLogPublishingOptions() != null) sb.append("LogPublishingOptions: ").append(getLogPublishingOptions()).append(","); if (getEncryptionAtRestOptions() != null) sb.append("EncryptionAtRestOptions: ").append(getEncryptionAtRestOptions()).append(","); if (getDomainEndpointOptions() != null) sb.append("DomainEndpointOptions: ").append(getDomainEndpointOptions()).append(","); if (getNodeToNodeEncryptionOptions() != null) sb.append("NodeToNodeEncryptionOptions: ").append(getNodeToNodeEncryptionOptions()).append(","); if (getAdvancedSecurityOptions() != null) sb.append("AdvancedSecurityOptions: ").append(getAdvancedSecurityOptions()).append(","); if (getAutoTuneOptions() != null) sb.append("AutoTuneOptions: ").append(getAutoTuneOptions()).append(","); if (getDryRun() != null) sb.append("DryRun: ").append(getDryRun()).append(","); if (getDryRunMode() != null) sb.append("DryRunMode: ").append(getDryRunMode()).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 UpdateDomainConfigRequest == false) return false; UpdateDomainConfigRequest other = (UpdateDomainConfigRequest) obj; if (other.getDomainName() == null ^ this.getDomainName() == null) return false; if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == 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.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.getAdvancedOptions() == null ^ this.getAdvancedOptions() == null) return false; if (other.getAdvancedOptions() != null && other.getAdvancedOptions().equals(this.getAdvancedOptions()) == 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.getLogPublishingOptions() == null ^ this.getLogPublishingOptions() == null) return false; if (other.getLogPublishingOptions() != null && other.getLogPublishingOptions().equals(this.getLogPublishingOptions()) == 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.getDomainEndpointOptions() == null ^ this.getDomainEndpointOptions() == null) return false; if (other.getDomainEndpointOptions() != null && other.getDomainEndpointOptions().equals(this.getDomainEndpointOptions()) == 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.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.getDryRun() == null ^ this.getDryRun() == null) return false; if (other.getDryRun() != null && other.getDryRun().equals(this.getDryRun()) == false) return false; if (other.getDryRunMode() == null ^ this.getDryRunMode() == null) return false; if (other.getDryRunMode() != null && other.getDryRunMode().equals(this.getDryRunMode()) == 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 + ((getDomainName() == null) ? 0 : getDomainName().hashCode()); hashCode = prime * hashCode + ((getClusterConfig() == null) ? 0 : getClusterConfig().hashCode()); hashCode = prime * hashCode + ((getEBSOptions() == null) ? 0 : getEBSOptions().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 + ((getAdvancedOptions() == null) ? 0 : getAdvancedOptions().hashCode()); hashCode = prime * hashCode + ((getAccessPolicies() == null) ? 0 : getAccessPolicies().hashCode()); hashCode = prime * hashCode + ((getLogPublishingOptions() == null) ? 0 : getLogPublishingOptions().hashCode()); hashCode = prime * hashCode + ((getEncryptionAtRestOptions() == null) ? 0 : getEncryptionAtRestOptions().hashCode()); hashCode = prime * hashCode + ((getDomainEndpointOptions() == null) ? 0 : getDomainEndpointOptions().hashCode()); hashCode = prime * hashCode + ((getNodeToNodeEncryptionOptions() == null) ? 0 : getNodeToNodeEncryptionOptions().hashCode()); hashCode = prime * hashCode + ((getAdvancedSecurityOptions() == null) ? 0 : getAdvancedSecurityOptions().hashCode()); hashCode = prime * hashCode + ((getAutoTuneOptions() == null) ? 0 : getAutoTuneOptions().hashCode()); hashCode = prime * hashCode + ((getDryRun() == null) ? 0 : getDryRun().hashCode()); hashCode = prime * hashCode + ((getDryRunMode() == null) ? 0 : getDryRunMode().hashCode()); hashCode = prime * hashCode + ((getOffPeakWindowOptions() == null) ? 0 : getOffPeakWindowOptions().hashCode()); hashCode = prime * hashCode + ((getSoftwareUpdateOptions() == null) ? 0 : getSoftwareUpdateOptions().hashCode()); return hashCode; } @Override public UpdateDomainConfigRequest clone() { return (UpdateDomainConfigRequest) super.clone(); } }