![JAR search and dependency download from the Maven repository](/logo.png)
com.oracle.bmc.database.model.UpdateCloudAutonomousVmClusterDetails Maven / Gradle / Ivy
Show all versions of oci-java-sdk-shaded-full Show documentation
/**
* Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
package com.oracle.bmc.database.model;
/**
* Details for updating the cloud Autonomous VM cluster.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model
* distinguishes fields that are {@code null} because they are unset from fields that are explicitly
* set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
* set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
* #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
* fields into account. The constructor, on the other hand, does not take the explicitly set fields
* into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
* null}).
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
builder = UpdateCloudAutonomousVmClusterDetails.Builder.class)
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
public final class UpdateCloudAutonomousVmClusterDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
@java.beans.ConstructorProperties({
"description",
"displayName",
"maintenanceWindowDetails",
"autonomousDataStorageSizeInTBs",
"cpuCoreCountPerNode",
"totalContainerDatabases",
"licenseModel",
"nsgIds",
"freeformTags",
"definedTags"
})
public UpdateCloudAutonomousVmClusterDetails(
String description,
String displayName,
MaintenanceWindow maintenanceWindowDetails,
Double autonomousDataStorageSizeInTBs,
Integer cpuCoreCountPerNode,
Integer totalContainerDatabases,
LicenseModel licenseModel,
java.util.List nsgIds,
java.util.Map freeformTags,
java.util.Map> definedTags) {
super();
this.description = description;
this.displayName = displayName;
this.maintenanceWindowDetails = maintenanceWindowDetails;
this.autonomousDataStorageSizeInTBs = autonomousDataStorageSizeInTBs;
this.cpuCoreCountPerNode = cpuCoreCountPerNode;
this.totalContainerDatabases = totalContainerDatabases;
this.licenseModel = licenseModel;
this.nsgIds = nsgIds;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
/** User defined description of the cloud Autonomous VM cluster. */
@com.fasterxml.jackson.annotation.JsonProperty("description")
private String description;
/**
* User defined description of the cloud Autonomous VM cluster.
*
* @param description the value to set
* @return this builder
*/
public Builder description(String description) {
this.description = description;
this.__explicitlySet__.add("description");
return this;
}
/**
* The user-friendly name for the cloud Autonomous VM cluster. The name does not need to be
* unique.
*/
@com.fasterxml.jackson.annotation.JsonProperty("displayName")
private String displayName;
/**
* The user-friendly name for the cloud Autonomous VM cluster. The name does not need to be
* unique.
*
* @param displayName the value to set
* @return this builder
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
this.__explicitlySet__.add("displayName");
return this;
}
@com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindowDetails")
private MaintenanceWindow maintenanceWindowDetails;
public Builder maintenanceWindowDetails(MaintenanceWindow maintenanceWindowDetails) {
this.maintenanceWindowDetails = maintenanceWindowDetails;
this.__explicitlySet__.add("maintenanceWindowDetails");
return this;
}
/** The new value of autonomous data storage (in TBs) for the Autonomous VM cluster. */
@com.fasterxml.jackson.annotation.JsonProperty("autonomousDataStorageSizeInTBs")
private Double autonomousDataStorageSizeInTBs;
/**
* The new value of autonomous data storage (in TBs) for the Autonomous VM cluster.
*
* @param autonomousDataStorageSizeInTBs the value to set
* @return this builder
*/
public Builder autonomousDataStorageSizeInTBs(Double autonomousDataStorageSizeInTBs) {
this.autonomousDataStorageSizeInTBs = autonomousDataStorageSizeInTBs;
this.__explicitlySet__.add("autonomousDataStorageSizeInTBs");
return this;
}
/**
* The new value of cpus per Autonomous VM cluster per node for the Autonomous VM cluster.
*/
@com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCountPerNode")
private Integer cpuCoreCountPerNode;
/**
* The new value of cpus per Autonomous VM cluster per node for the Autonomous VM cluster.
*
* @param cpuCoreCountPerNode the value to set
* @return this builder
*/
public Builder cpuCoreCountPerNode(Integer cpuCoreCountPerNode) {
this.cpuCoreCountPerNode = cpuCoreCountPerNode;
this.__explicitlySet__.add("cpuCoreCountPerNode");
return this;
}
/** The new value of maximum number of ACDs for the Autonomous VM cluster. */
@com.fasterxml.jackson.annotation.JsonProperty("totalContainerDatabases")
private Integer totalContainerDatabases;
/**
* The new value of maximum number of ACDs for the Autonomous VM cluster.
*
* @param totalContainerDatabases the value to set
* @return this builder
*/
public Builder totalContainerDatabases(Integer totalContainerDatabases) {
this.totalContainerDatabases = totalContainerDatabases;
this.__explicitlySet__.add("totalContainerDatabases");
return this;
}
/**
* The Oracle license model that applies to the Oracle Autonomous Database. Bring your own
* license (BYOL) allows you to apply your current on-premises Oracle software licenses to
* equivalent, highly automated Oracle services in the cloud. License Included allows you to
* subscribe to new Oracle Database software licenses and the Oracle Database service. Note
* that when provisioning an [Autonomous Database on dedicated Exadata
* infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html),
* this attribute must be null. It is already set at the Autonomous Exadata Infrastructure
* level. When provisioning an [Autonomous Database Serverless]
* (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a
* value is not specified, the system defaults the value to {@code BRING_YOUR_OWN_LICENSE}.
* Bring your own license (BYOL) also allows you to select the DB edition using the optional
* parameter.
*
* This cannot be updated in parallel with any of the following: cpuCoreCount,
* computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload,
* privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or
* isFreeTier.
*/
@com.fasterxml.jackson.annotation.JsonProperty("licenseModel")
private LicenseModel licenseModel;
/**
* The Oracle license model that applies to the Oracle Autonomous Database. Bring your own
* license (BYOL) allows you to apply your current on-premises Oracle software licenses to
* equivalent, highly automated Oracle services in the cloud. License Included allows you to
* subscribe to new Oracle Database software licenses and the Oracle Database service. Note
* that when provisioning an [Autonomous Database on dedicated Exadata
* infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html),
* this attribute must be null. It is already set at the Autonomous Exadata Infrastructure
* level. When provisioning an [Autonomous Database Serverless]
* (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a
* value is not specified, the system defaults the value to {@code BRING_YOUR_OWN_LICENSE}.
* Bring your own license (BYOL) also allows you to select the DB edition using the optional
* parameter.
*
*
This cannot be updated in parallel with any of the following: cpuCoreCount,
* computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload,
* privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or
* isFreeTier.
*
* @param licenseModel the value to set
* @return this builder
*/
public Builder licenseModel(LicenseModel licenseModel) {
this.licenseModel = licenseModel;
this.__explicitlySet__.add("licenseModel");
return this;
}
/**
* The list of
* [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the
* network security groups (NSGs) to which this resource belongs. Setting this to an empty
* list removes all resources from all NSGs. For more information about NSGs, see [Security
* Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
* **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous
* Databases with private access. The nsgIds list can be empty.
*/
@com.fasterxml.jackson.annotation.JsonProperty("nsgIds")
private java.util.List nsgIds;
/**
* The list of
* [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the
* network security groups (NSGs) to which this resource belongs. Setting this to an empty
* list removes all resources from all NSGs. For more information about NSGs, see [Security
* Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
* **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous
* Databases with private access. The nsgIds list can be empty.
*
* @param nsgIds the value to set
* @return this builder
*/
public Builder nsgIds(java.util.List nsgIds) {
this.nsgIds = nsgIds;
this.__explicitlySet__.add("nsgIds");
return this;
}
/**
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
* name, type, or namespace. For more information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*
* Example: {@code {"Department": "Finance"}}
*/
@com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
private java.util.Map freeformTags;
/**
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
* name, type, or namespace. For more information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*
* Example: {@code {"Department": "Finance"}}
*
* @param freeformTags the value to set
* @return this builder
*/
public Builder freeformTags(java.util.Map freeformTags) {
this.freeformTags = freeformTags;
this.__explicitlySet__.add("freeformTags");
return this;
}
/**
* Defined tags for this resource. Each key is predefined and scoped to a namespace. For
* more information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*/
@com.fasterxml.jackson.annotation.JsonProperty("definedTags")
private java.util.Map> definedTags;
/**
* Defined tags for this resource. Each key is predefined and scoped to a namespace. For
* more information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*
* @param definedTags the value to set
* @return this builder
*/
public Builder definedTags(
java.util.Map> definedTags) {
this.definedTags = definedTags;
this.__explicitlySet__.add("definedTags");
return this;
}
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public UpdateCloudAutonomousVmClusterDetails build() {
UpdateCloudAutonomousVmClusterDetails model =
new UpdateCloudAutonomousVmClusterDetails(
this.description,
this.displayName,
this.maintenanceWindowDetails,
this.autonomousDataStorageSizeInTBs,
this.cpuCoreCountPerNode,
this.totalContainerDatabases,
this.licenseModel,
this.nsgIds,
this.freeformTags,
this.definedTags);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
return model;
}
@com.fasterxml.jackson.annotation.JsonIgnore
public Builder copy(UpdateCloudAutonomousVmClusterDetails model) {
if (model.wasPropertyExplicitlySet("description")) {
this.description(model.getDescription());
}
if (model.wasPropertyExplicitlySet("displayName")) {
this.displayName(model.getDisplayName());
}
if (model.wasPropertyExplicitlySet("maintenanceWindowDetails")) {
this.maintenanceWindowDetails(model.getMaintenanceWindowDetails());
}
if (model.wasPropertyExplicitlySet("autonomousDataStorageSizeInTBs")) {
this.autonomousDataStorageSizeInTBs(model.getAutonomousDataStorageSizeInTBs());
}
if (model.wasPropertyExplicitlySet("cpuCoreCountPerNode")) {
this.cpuCoreCountPerNode(model.getCpuCoreCountPerNode());
}
if (model.wasPropertyExplicitlySet("totalContainerDatabases")) {
this.totalContainerDatabases(model.getTotalContainerDatabases());
}
if (model.wasPropertyExplicitlySet("licenseModel")) {
this.licenseModel(model.getLicenseModel());
}
if (model.wasPropertyExplicitlySet("nsgIds")) {
this.nsgIds(model.getNsgIds());
}
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
if (model.wasPropertyExplicitlySet("definedTags")) {
this.definedTags(model.getDefinedTags());
}
return this;
}
}
/** Create a new builder. */
public static Builder builder() {
return new Builder();
}
public Builder toBuilder() {
return new Builder().copy(this);
}
/** User defined description of the cloud Autonomous VM cluster. */
@com.fasterxml.jackson.annotation.JsonProperty("description")
private final String description;
/**
* User defined description of the cloud Autonomous VM cluster.
*
* @return the value
*/
public String getDescription() {
return description;
}
/**
* The user-friendly name for the cloud Autonomous VM cluster. The name does not need to be
* unique.
*/
@com.fasterxml.jackson.annotation.JsonProperty("displayName")
private final String displayName;
/**
* The user-friendly name for the cloud Autonomous VM cluster. The name does not need to be
* unique.
*
* @return the value
*/
public String getDisplayName() {
return displayName;
}
@com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindowDetails")
private final MaintenanceWindow maintenanceWindowDetails;
public MaintenanceWindow getMaintenanceWindowDetails() {
return maintenanceWindowDetails;
}
/** The new value of autonomous data storage (in TBs) for the Autonomous VM cluster. */
@com.fasterxml.jackson.annotation.JsonProperty("autonomousDataStorageSizeInTBs")
private final Double autonomousDataStorageSizeInTBs;
/**
* The new value of autonomous data storage (in TBs) for the Autonomous VM cluster.
*
* @return the value
*/
public Double getAutonomousDataStorageSizeInTBs() {
return autonomousDataStorageSizeInTBs;
}
/** The new value of cpus per Autonomous VM cluster per node for the Autonomous VM cluster. */
@com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCountPerNode")
private final Integer cpuCoreCountPerNode;
/**
* The new value of cpus per Autonomous VM cluster per node for the Autonomous VM cluster.
*
* @return the value
*/
public Integer getCpuCoreCountPerNode() {
return cpuCoreCountPerNode;
}
/** The new value of maximum number of ACDs for the Autonomous VM cluster. */
@com.fasterxml.jackson.annotation.JsonProperty("totalContainerDatabases")
private final Integer totalContainerDatabases;
/**
* The new value of maximum number of ACDs for the Autonomous VM cluster.
*
* @return the value
*/
public Integer getTotalContainerDatabases() {
return totalContainerDatabases;
}
/**
* The Oracle license model that applies to the Oracle Autonomous Database. Bring your own
* license (BYOL) allows you to apply your current on-premises Oracle software licenses to
* equivalent, highly automated Oracle services in the cloud. License Included allows you to
* subscribe to new Oracle Database software licenses and the Oracle Database service. Note that
* when provisioning an [Autonomous Database on dedicated Exadata
* infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html), this
* attribute must be null. It is already set at the Autonomous Exadata Infrastructure level.
* When provisioning an [Autonomous Database Serverless]
* (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value
* is not specified, the system defaults the value to {@code BRING_YOUR_OWN_LICENSE}. Bring your
* own license (BYOL) also allows you to select the DB edition using the optional parameter.
*
* This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount,
* dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload,
* privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or
* isFreeTier.
*/
public enum LicenseModel implements com.oracle.bmc.http.internal.BmcEnum {
LicenseIncluded("LICENSE_INCLUDED"),
BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"),
;
private final String value;
private static java.util.Map map;
static {
map = new java.util.HashMap<>();
for (LicenseModel v : LicenseModel.values()) {
map.put(v.getValue(), v);
}
}
LicenseModel(String value) {
this.value = value;
}
@com.fasterxml.jackson.annotation.JsonValue
public String getValue() {
return value;
}
@com.fasterxml.jackson.annotation.JsonCreator
public static LicenseModel create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
throw new IllegalArgumentException("Invalid LicenseModel: " + key);
}
};
/**
* The Oracle license model that applies to the Oracle Autonomous Database. Bring your own
* license (BYOL) allows you to apply your current on-premises Oracle software licenses to
* equivalent, highly automated Oracle services in the cloud. License Included allows you to
* subscribe to new Oracle Database software licenses and the Oracle Database service. Note that
* when provisioning an [Autonomous Database on dedicated Exadata
* infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html), this
* attribute must be null. It is already set at the Autonomous Exadata Infrastructure level.
* When provisioning an [Autonomous Database Serverless]
* (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value
* is not specified, the system defaults the value to {@code BRING_YOUR_OWN_LICENSE}. Bring your
* own license (BYOL) also allows you to select the DB edition using the optional parameter.
*
* This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount,
* dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload,
* privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or
* isFreeTier.
*/
@com.fasterxml.jackson.annotation.JsonProperty("licenseModel")
private final LicenseModel licenseModel;
/**
* The Oracle license model that applies to the Oracle Autonomous Database. Bring your own
* license (BYOL) allows you to apply your current on-premises Oracle software licenses to
* equivalent, highly automated Oracle services in the cloud. License Included allows you to
* subscribe to new Oracle Database software licenses and the Oracle Database service. Note that
* when provisioning an [Autonomous Database on dedicated Exadata
* infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html), this
* attribute must be null. It is already set at the Autonomous Exadata Infrastructure level.
* When provisioning an [Autonomous Database Serverless]
* (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value
* is not specified, the system defaults the value to {@code BRING_YOUR_OWN_LICENSE}. Bring your
* own license (BYOL) also allows you to select the DB edition using the optional parameter.
*
*
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount,
* dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload,
* privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or
* isFreeTier.
*
* @return the value
*/
public LicenseModel getLicenseModel() {
return licenseModel;
}
/**
* The list of [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
* for the network security groups (NSGs) to which this resource belongs. Setting this to an
* empty list removes all resources from all NSGs. For more information about NSGs, see
* [Security Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
* **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous
* Databases with private access. The nsgIds list can be empty.
*/
@com.fasterxml.jackson.annotation.JsonProperty("nsgIds")
private final java.util.List nsgIds;
/**
* The list of [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
* for the network security groups (NSGs) to which this resource belongs. Setting this to an
* empty list removes all resources from all NSGs. For more information about NSGs, see
* [Security Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
* **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous
* Databases with private access. The nsgIds list can be empty.
*
* @return the value
*/
public java.util.List getNsgIds() {
return nsgIds;
}
/**
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
* name, type, or namespace. For more information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*
* Example: {@code {"Department": "Finance"}}
*/
@com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
private final java.util.Map freeformTags;
/**
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
* name, type, or namespace. For more information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*
* Example: {@code {"Department": "Finance"}}
*
* @return the value
*/
public java.util.Map getFreeformTags() {
return freeformTags;
}
/**
* Defined tags for this resource. Each key is predefined and scoped to a namespace. For more
* information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*/
@com.fasterxml.jackson.annotation.JsonProperty("definedTags")
private final java.util.Map> definedTags;
/**
* Defined tags for this resource. Each key is predefined and scoped to a namespace. For more
* information, see [Resource
* Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
*
* @return the value
*/
public java.util.Map> getDefinedTags() {
return definedTags;
}
@Override
public String toString() {
return this.toString(true);
}
/**
* Return a string representation of the object.
*
* @param includeByteArrayContents true to include the full contents of byte arrays
* @return string representation
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("UpdateCloudAutonomousVmClusterDetails(");
sb.append("super=").append(super.toString());
sb.append("description=").append(String.valueOf(this.description));
sb.append(", displayName=").append(String.valueOf(this.displayName));
sb.append(", maintenanceWindowDetails=")
.append(String.valueOf(this.maintenanceWindowDetails));
sb.append(", autonomousDataStorageSizeInTBs=")
.append(String.valueOf(this.autonomousDataStorageSizeInTBs));
sb.append(", cpuCoreCountPerNode=").append(String.valueOf(this.cpuCoreCountPerNode));
sb.append(", totalContainerDatabases=")
.append(String.valueOf(this.totalContainerDatabases));
sb.append(", licenseModel=").append(String.valueOf(this.licenseModel));
sb.append(", nsgIds=").append(String.valueOf(this.nsgIds));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(")");
return sb.toString();
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof UpdateCloudAutonomousVmClusterDetails)) {
return false;
}
UpdateCloudAutonomousVmClusterDetails other = (UpdateCloudAutonomousVmClusterDetails) o;
return java.util.Objects.equals(this.description, other.description)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(
this.maintenanceWindowDetails, other.maintenanceWindowDetails)
&& java.util.Objects.equals(
this.autonomousDataStorageSizeInTBs, other.autonomousDataStorageSizeInTBs)
&& java.util.Objects.equals(this.cpuCoreCountPerNode, other.cpuCoreCountPerNode)
&& java.util.Objects.equals(
this.totalContainerDatabases, other.totalContainerDatabases)
&& java.util.Objects.equals(this.licenseModel, other.licenseModel)
&& java.util.Objects.equals(this.nsgIds, other.nsgIds)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& super.equals(other);
}
@Override
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
result =
(result * PRIME)
+ (this.maintenanceWindowDetails == null
? 43
: this.maintenanceWindowDetails.hashCode());
result =
(result * PRIME)
+ (this.autonomousDataStorageSizeInTBs == null
? 43
: this.autonomousDataStorageSizeInTBs.hashCode());
result =
(result * PRIME)
+ (this.cpuCoreCountPerNode == null
? 43
: this.cpuCoreCountPerNode.hashCode());
result =
(result * PRIME)
+ (this.totalContainerDatabases == null
? 43
: this.totalContainerDatabases.hashCode());
result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode());
result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
}