All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.bmc.database.model.UpdateCloudVmClusterDetails Maven / Gradle / Ivy

Go to download

This project contains the SDK used for Oracle Cloud Infrastructure Database Service

There is a newer version: 3.55.2
Show newest version
/**
 * Copyright (c) 2016, 2023, 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 VM cluster. Applies to Exadata Cloud Service instances only. 
* 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 = UpdateCloudVmClusterDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class UpdateCloudVmClusterDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ "displayName", "cpuCoreCount", "ocpuCount", "memorySizeInGBs", "dbNodeStorageSizeInGBs", "dataStorageSizeInTBs", "licenseModel", "sshPublicKeys", "updateDetails", "nsgIds", "backupNetworkNsgIds", "computeNodes", "storageSizeInGBs", "freeformTags", "definedTags", "dataCollectionOptions" }) public UpdateCloudVmClusterDetails( String displayName, Integer cpuCoreCount, Float ocpuCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Double dataStorageSizeInTBs, LicenseModel licenseModel, java.util.List sshPublicKeys, UpdateDetails updateDetails, java.util.List nsgIds, java.util.List backupNetworkNsgIds, java.util.List computeNodes, Integer storageSizeInGBs, java.util.Map freeformTags, java.util.Map> definedTags, DataCollectionOptions dataCollectionOptions) { super(); this.displayName = displayName; this.cpuCoreCount = cpuCoreCount; this.ocpuCount = ocpuCount; this.memorySizeInGBs = memorySizeInGBs; this.dbNodeStorageSizeInGBs = dbNodeStorageSizeInGBs; this.dataStorageSizeInTBs = dataStorageSizeInTBs; this.licenseModel = licenseModel; this.sshPublicKeys = sshPublicKeys; this.updateDetails = updateDetails; this.nsgIds = nsgIds; this.backupNetworkNsgIds = backupNetworkNsgIds; this.computeNodes = computeNodes; this.storageSizeInGBs = storageSizeInGBs; this.freeformTags = freeformTags; this.definedTags = definedTags; this.dataCollectionOptions = dataCollectionOptions; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** The user-friendly name for the cloud 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 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; } /** The number of CPU cores to enable for the cloud VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private Integer cpuCoreCount; /** * The number of CPU cores to enable for the cloud VM cluster. * * @param cpuCoreCount the value to set * @return this builder */ public Builder cpuCoreCount(Integer cpuCoreCount) { this.cpuCoreCount = cpuCoreCount; this.__explicitlySet__.add("cpuCoreCount"); return this; } /** * The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is * allowed for the fractional part. */ @com.fasterxml.jackson.annotation.JsonProperty("ocpuCount") private Float ocpuCount; /** * The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is * allowed for the fractional part. * * @param ocpuCount the value to set * @return this builder */ public Builder ocpuCount(Float ocpuCount) { this.ocpuCount = ocpuCount; this.__explicitlySet__.add("ocpuCount"); return this; } /** The memory to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("memorySizeInGBs") private Integer memorySizeInGBs; /** * The memory to be allocated in GBs. * * @param memorySizeInGBs the value to set * @return this builder */ public Builder memorySizeInGBs(Integer memorySizeInGBs) { this.memorySizeInGBs = memorySizeInGBs; this.__explicitlySet__.add("memorySizeInGBs"); return this; } /** The local node storage to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("dbNodeStorageSizeInGBs") private Integer dbNodeStorageSizeInGBs; /** * The local node storage to be allocated in GBs. * * @param dbNodeStorageSizeInGBs the value to set * @return this builder */ public Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs) { this.dbNodeStorageSizeInGBs = dbNodeStorageSizeInGBs; this.__explicitlySet__.add("dbNodeStorageSizeInGBs"); return this; } /** The data disk group size to be allocated in TBs. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStorageSizeInTBs") private Double dataStorageSizeInTBs; /** * The data disk group size to be allocated in TBs. * * @param dataStorageSizeInTBs the value to set * @return this builder */ public Builder dataStorageSizeInTBs(Double dataStorageSizeInTBs) { this.dataStorageSizeInTBs = dataStorageSizeInTBs; this.__explicitlySet__.add("dataStorageSizeInTBs"); return this; } /** * The Oracle license model that applies to the cloud VM cluster. The default is * BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private LicenseModel licenseModel; /** * The Oracle license model that applies to the cloud VM cluster. The default is * BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. * * @param licenseModel the value to set * @return this builder */ public Builder licenseModel(LicenseModel licenseModel) { this.licenseModel = licenseModel; this.__explicitlySet__.add("licenseModel"); return this; } /** * The public key portion of one or more key pairs used for SSH access to the cloud VM * cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("sshPublicKeys") private java.util.List sshPublicKeys; /** * The public key portion of one or more key pairs used for SSH access to the cloud VM * cluster. * * @param sshPublicKeys the value to set * @return this builder */ public Builder sshPublicKeys(java.util.List sshPublicKeys) { this.sshPublicKeys = sshPublicKeys; this.__explicitlySet__.add("sshPublicKeys"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("updateDetails") private UpdateDetails updateDetails; public Builder updateDetails(UpdateDetails updateDetails) { this.updateDetails = updateDetails; this.__explicitlySet__.add("updateDetails"); 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; } /** * A list of the * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * network security groups (NSGs) that the backup network of this DB system belongs to. * Setting this to an empty array after the list is created removes the resource from all * NSGs. For more information about NSGs, see [Security * Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * Applicable only to Exadata systems. */ @com.fasterxml.jackson.annotation.JsonProperty("backupNetworkNsgIds") private java.util.List backupNetworkNsgIds; /** * A list of the * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * network security groups (NSGs) that the backup network of this DB system belongs to. * Setting this to an empty array after the list is created removes the resource from all * NSGs. For more information about NSGs, see [Security * Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * Applicable only to Exadata systems. * * @param backupNetworkNsgIds the value to set * @return this builder */ public Builder backupNetworkNsgIds(java.util.List backupNetworkNsgIds) { this.backupNetworkNsgIds = backupNetworkNsgIds; this.__explicitlySet__.add("backupNetworkNsgIds"); return this; } /** The list of compute servers to be added to the cloud VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("computeNodes") private java.util.List computeNodes; /** * The list of compute servers to be added to the cloud VM cluster. * * @param computeNodes the value to set * @return this builder */ public Builder computeNodes(java.util.List computeNodes) { this.computeNodes = computeNodes; this.__explicitlySet__.add("computeNodes"); return this; } /** The disk group size to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("storageSizeInGBs") private Integer storageSizeInGBs; /** * The disk group size to be allocated in GBs. * * @param storageSizeInGBs the value to set * @return this builder */ public Builder storageSizeInGBs(Integer storageSizeInGBs) { this.storageSizeInGBs = storageSizeInGBs; this.__explicitlySet__.add("storageSizeInGBs"); 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.JsonProperty("dataCollectionOptions") private DataCollectionOptions dataCollectionOptions; public Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions) { this.dataCollectionOptions = dataCollectionOptions; this.__explicitlySet__.add("dataCollectionOptions"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public UpdateCloudVmClusterDetails build() { UpdateCloudVmClusterDetails model = new UpdateCloudVmClusterDetails( this.displayName, this.cpuCoreCount, this.ocpuCount, this.memorySizeInGBs, this.dbNodeStorageSizeInGBs, this.dataStorageSizeInTBs, this.licenseModel, this.sshPublicKeys, this.updateDetails, this.nsgIds, this.backupNetworkNsgIds, this.computeNodes, this.storageSizeInGBs, this.freeformTags, this.definedTags, this.dataCollectionOptions); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } return model; } @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(UpdateCloudVmClusterDetails model) { if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } if (model.wasPropertyExplicitlySet("ocpuCount")) { this.ocpuCount(model.getOcpuCount()); } if (model.wasPropertyExplicitlySet("memorySizeInGBs")) { this.memorySizeInGBs(model.getMemorySizeInGBs()); } if (model.wasPropertyExplicitlySet("dbNodeStorageSizeInGBs")) { this.dbNodeStorageSizeInGBs(model.getDbNodeStorageSizeInGBs()); } if (model.wasPropertyExplicitlySet("dataStorageSizeInTBs")) { this.dataStorageSizeInTBs(model.getDataStorageSizeInTBs()); } if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } if (model.wasPropertyExplicitlySet("sshPublicKeys")) { this.sshPublicKeys(model.getSshPublicKeys()); } if (model.wasPropertyExplicitlySet("updateDetails")) { this.updateDetails(model.getUpdateDetails()); } if (model.wasPropertyExplicitlySet("nsgIds")) { this.nsgIds(model.getNsgIds()); } if (model.wasPropertyExplicitlySet("backupNetworkNsgIds")) { this.backupNetworkNsgIds(model.getBackupNetworkNsgIds()); } if (model.wasPropertyExplicitlySet("computeNodes")) { this.computeNodes(model.getComputeNodes()); } if (model.wasPropertyExplicitlySet("storageSizeInGBs")) { this.storageSizeInGBs(model.getStorageSizeInGBs()); } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } if (model.wasPropertyExplicitlySet("dataCollectionOptions")) { this.dataCollectionOptions(model.getDataCollectionOptions()); } return this; } } /** Create a new builder. */ public static Builder builder() { return new Builder(); } public Builder toBuilder() { return new Builder().copy(this); } /** The user-friendly name for the cloud 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 VM cluster. The name does not need to be unique. * * @return the value */ public String getDisplayName() { return displayName; } /** The number of CPU cores to enable for the cloud VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private final Integer cpuCoreCount; /** * The number of CPU cores to enable for the cloud VM cluster. * * @return the value */ public Integer getCpuCoreCount() { return cpuCoreCount; } /** * The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed * for the fractional part. */ @com.fasterxml.jackson.annotation.JsonProperty("ocpuCount") private final Float ocpuCount; /** * The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed * for the fractional part. * * @return the value */ public Float getOcpuCount() { return ocpuCount; } /** The memory to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("memorySizeInGBs") private final Integer memorySizeInGBs; /** * The memory to be allocated in GBs. * * @return the value */ public Integer getMemorySizeInGBs() { return memorySizeInGBs; } /** The local node storage to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("dbNodeStorageSizeInGBs") private final Integer dbNodeStorageSizeInGBs; /** * The local node storage to be allocated in GBs. * * @return the value */ public Integer getDbNodeStorageSizeInGBs() { return dbNodeStorageSizeInGBs; } /** The data disk group size to be allocated in TBs. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStorageSizeInTBs") private final Double dataStorageSizeInTBs; /** * The data disk group size to be allocated in TBs. * * @return the value */ public Double getDataStorageSizeInTBs() { return dataStorageSizeInTBs; } /** * The Oracle license model that applies to the cloud VM cluster. The default is * BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. */ 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 cloud VM cluster. The default is * BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private final LicenseModel licenseModel; /** * The Oracle license model that applies to the cloud VM cluster. The default is * BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. * * @return the value */ public LicenseModel getLicenseModel() { return licenseModel; } /** * The public key portion of one or more key pairs used for SSH access to the cloud VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("sshPublicKeys") private final java.util.List sshPublicKeys; /** * The public key portion of one or more key pairs used for SSH access to the cloud VM cluster. * * @return the value */ public java.util.List getSshPublicKeys() { return sshPublicKeys; } @com.fasterxml.jackson.annotation.JsonProperty("updateDetails") private final UpdateDetails updateDetails; public UpdateDetails getUpdateDetails() { return updateDetails; } /** * 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; } /** * A list of the [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * of the network security groups (NSGs) that the backup network of this DB system belongs to. * Setting this to an empty array after the list is created removes the resource from all NSGs. * For more information about NSGs, see [Security * Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable * only to Exadata systems. */ @com.fasterxml.jackson.annotation.JsonProperty("backupNetworkNsgIds") private final java.util.List backupNetworkNsgIds; /** * A list of the [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * of the network security groups (NSGs) that the backup network of this DB system belongs to. * Setting this to an empty array after the list is created removes the resource from all NSGs. * For more information about NSGs, see [Security * Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable * only to Exadata systems. * * @return the value */ public java.util.List getBackupNetworkNsgIds() { return backupNetworkNsgIds; } /** The list of compute servers to be added to the cloud VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("computeNodes") private final java.util.List computeNodes; /** * The list of compute servers to be added to the cloud VM cluster. * * @return the value */ public java.util.List getComputeNodes() { return computeNodes; } /** The disk group size to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("storageSizeInGBs") private final Integer storageSizeInGBs; /** * The disk group size to be allocated in GBs. * * @return the value */ public Integer getStorageSizeInGBs() { return storageSizeInGBs; } /** * 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; } @com.fasterxml.jackson.annotation.JsonProperty("dataCollectionOptions") private final DataCollectionOptions dataCollectionOptions; public DataCollectionOptions getDataCollectionOptions() { return dataCollectionOptions; } @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("UpdateCloudVmClusterDetails("); sb.append("super=").append(super.toString()); sb.append("displayName=").append(String.valueOf(this.displayName)); sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); sb.append(", ocpuCount=").append(String.valueOf(this.ocpuCount)); sb.append(", memorySizeInGBs=").append(String.valueOf(this.memorySizeInGBs)); sb.append(", dbNodeStorageSizeInGBs=").append(String.valueOf(this.dbNodeStorageSizeInGBs)); sb.append(", dataStorageSizeInTBs=").append(String.valueOf(this.dataStorageSizeInTBs)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); sb.append(", sshPublicKeys=").append(String.valueOf(this.sshPublicKeys)); sb.append(", updateDetails=").append(String.valueOf(this.updateDetails)); sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", backupNetworkNsgIds=").append(String.valueOf(this.backupNetworkNsgIds)); sb.append(", computeNodes=").append(String.valueOf(this.computeNodes)); sb.append(", storageSizeInGBs=").append(String.valueOf(this.storageSizeInGBs)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", dataCollectionOptions=").append(String.valueOf(this.dataCollectionOptions)); sb.append(")"); return sb.toString(); } @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof UpdateCloudVmClusterDetails)) { return false; } UpdateCloudVmClusterDetails other = (UpdateCloudVmClusterDetails) o; return java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) && java.util.Objects.equals(this.ocpuCount, other.ocpuCount) && java.util.Objects.equals(this.memorySizeInGBs, other.memorySizeInGBs) && java.util.Objects.equals( this.dbNodeStorageSizeInGBs, other.dbNodeStorageSizeInGBs) && java.util.Objects.equals(this.dataStorageSizeInTBs, other.dataStorageSizeInTBs) && java.util.Objects.equals(this.licenseModel, other.licenseModel) && java.util.Objects.equals(this.sshPublicKeys, other.sshPublicKeys) && java.util.Objects.equals(this.updateDetails, other.updateDetails) && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.backupNetworkNsgIds, other.backupNetworkNsgIds) && java.util.Objects.equals(this.computeNodes, other.computeNodes) && java.util.Objects.equals(this.storageSizeInGBs, other.storageSizeInGBs) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.dataCollectionOptions, other.dataCollectionOptions) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); result = (result * PRIME) + (this.ocpuCount == null ? 43 : this.ocpuCount.hashCode()); result = (result * PRIME) + (this.memorySizeInGBs == null ? 43 : this.memorySizeInGBs.hashCode()); result = (result * PRIME) + (this.dbNodeStorageSizeInGBs == null ? 43 : this.dbNodeStorageSizeInGBs.hashCode()); result = (result * PRIME) + (this.dataStorageSizeInTBs == null ? 43 : this.dataStorageSizeInTBs.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); result = (result * PRIME) + (this.sshPublicKeys == null ? 43 : this.sshPublicKeys.hashCode()); result = (result * PRIME) + (this.updateDetails == null ? 43 : this.updateDetails.hashCode()); result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); result = (result * PRIME) + (this.backupNetworkNsgIds == null ? 43 : this.backupNetworkNsgIds.hashCode()); result = (result * PRIME) + (this.computeNodes == null ? 43 : this.computeNodes.hashCode()); result = (result * PRIME) + (this.storageSizeInGBs == null ? 43 : this.storageSizeInGBs.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.dataCollectionOptions == null ? 43 : this.dataCollectionOptions.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy