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

com.oracle.bmc.database.model.CreateVmClusterDetails 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.1
Show newest version
/**
 * 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 the create Exadata VM cluster operation. Applies to Exadata Cloud@Customer instances
 * only. For details on the create cloud Exadata VM cluster operation used with Exadata Cloud
 * Service instances, see {@link #createCloudVmClusterDetails(CreateCloudVmClusterDetailsRequest)
 * createCloudVmClusterDetails} 
* 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 = CreateVmClusterDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class CreateVmClusterDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ "compartmentId", "displayName", "exadataInfrastructureId", "cpuCoreCount", "ocpuCount", "memorySizeInGBs", "dbNodeStorageSizeInGBs", "dataStorageSizeInTBs", "dataStorageSizeInGBs", "sshPublicKeys", "vmClusterNetworkId", "licenseModel", "isSparseDiskgroupEnabled", "isLocalBackupEnabled", "timeZone", "giVersion", "dbServers", "freeformTags", "definedTags", "dataCollectionOptions", "systemVersion", "fileSystemConfigurationDetails", "cloudAutomationUpdateDetails" }) public CreateVmClusterDetails( String compartmentId, String displayName, String exadataInfrastructureId, Integer cpuCoreCount, Float ocpuCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Double dataStorageSizeInTBs, Double dataStorageSizeInGBs, java.util.List sshPublicKeys, String vmClusterNetworkId, LicenseModel licenseModel, Boolean isSparseDiskgroupEnabled, Boolean isLocalBackupEnabled, String timeZone, String giVersion, java.util.List dbServers, java.util.Map freeformTags, java.util.Map> definedTags, DataCollectionOptions dataCollectionOptions, String systemVersion, java.util.List fileSystemConfigurationDetails, CloudAutomationUpdateDetails cloudAutomationUpdateDetails) { super(); this.compartmentId = compartmentId; this.displayName = displayName; this.exadataInfrastructureId = exadataInfrastructureId; this.cpuCoreCount = cpuCoreCount; this.ocpuCount = ocpuCount; this.memorySizeInGBs = memorySizeInGBs; this.dbNodeStorageSizeInGBs = dbNodeStorageSizeInGBs; this.dataStorageSizeInTBs = dataStorageSizeInTBs; this.dataStorageSizeInGBs = dataStorageSizeInGBs; this.sshPublicKeys = sshPublicKeys; this.vmClusterNetworkId = vmClusterNetworkId; this.licenseModel = licenseModel; this.isSparseDiskgroupEnabled = isSparseDiskgroupEnabled; this.isLocalBackupEnabled = isLocalBackupEnabled; this.timeZone = timeZone; this.giVersion = giVersion; this.dbServers = dbServers; this.freeformTags = freeformTags; this.definedTags = definedTags; this.dataCollectionOptions = dataCollectionOptions; this.systemVersion = systemVersion; this.fileSystemConfigurationDetails = fileSystemConfigurationDetails; this.cloudAutomationUpdateDetails = cloudAutomationUpdateDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. * * @param compartmentId the value to set * @return this builder */ public Builder compartmentId(String compartmentId) { this.compartmentId = compartmentId; this.__explicitlySet__.add("compartmentId"); return this; } /** The user-friendly name for the 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 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 [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("exadataInfrastructureId") private String exadataInfrastructureId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. * * @param exadataInfrastructureId the value to set * @return this builder */ public Builder exadataInfrastructureId(String exadataInfrastructureId) { this.exadataInfrastructureId = exadataInfrastructureId; this.__explicitlySet__.add("exadataInfrastructureId"); return this; } /** The number of CPU cores to enable for the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private Integer cpuCoreCount; /** * The number of CPU cores to enable for the 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 the VM cluster. Only one 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 the VM cluster. Only one 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 data disk group size to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStorageSizeInGBs") private Double dataStorageSizeInGBs; /** * The data disk group size to be allocated in GBs. * * @param dataStorageSizeInGBs the value to set * @return this builder */ public Builder dataStorageSizeInGBs(Double dataStorageSizeInGBs) { this.dataStorageSizeInGBs = dataStorageSizeInGBs; this.__explicitlySet__.add("dataStorageSizeInGBs"); return this; } /** * The public key portion of one or more key pairs used for SSH access to the 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 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; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * VM cluster network. */ @com.fasterxml.jackson.annotation.JsonProperty("vmClusterNetworkId") private String vmClusterNetworkId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * VM cluster network. * * @param vmClusterNetworkId the value to set * @return this builder */ public Builder vmClusterNetworkId(String vmClusterNetworkId) { this.vmClusterNetworkId = vmClusterNetworkId; this.__explicitlySet__.add("vmClusterNetworkId"); return this; } /** * The Oracle license model that applies to the VM cluster. The default is * BRING_YOUR_OWN_LICENSE. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private LicenseModel licenseModel; /** * The Oracle license model that applies to the VM cluster. The default is * BRING_YOUR_OWN_LICENSE. * * @param licenseModel the value to set * @return this builder */ public Builder licenseModel(LicenseModel licenseModel) { this.licenseModel = licenseModel; this.__explicitlySet__.add("licenseModel"); return this; } /** * If true, the sparse disk group is configured for the VM cluster. If false, the sparse * disk group is not created. */ @com.fasterxml.jackson.annotation.JsonProperty("isSparseDiskgroupEnabled") private Boolean isSparseDiskgroupEnabled; /** * If true, the sparse disk group is configured for the VM cluster. If false, the sparse * disk group is not created. * * @param isSparseDiskgroupEnabled the value to set * @return this builder */ public Builder isSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled) { this.isSparseDiskgroupEnabled = isSparseDiskgroupEnabled; this.__explicitlySet__.add("isSparseDiskgroupEnabled"); return this; } /** * If true, database backup on local Exadata storage is configured for the VM cluster. If * false, database backup on local Exadata storage is not available in the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("isLocalBackupEnabled") private Boolean isLocalBackupEnabled; /** * If true, database backup on local Exadata storage is configured for the VM cluster. If * false, database backup on local Exadata storage is not available in the VM cluster. * * @param isLocalBackupEnabled the value to set * @return this builder */ public Builder isLocalBackupEnabled(Boolean isLocalBackupEnabled) { this.isLocalBackupEnabled = isLocalBackupEnabled; this.__explicitlySet__.add("isLocalBackupEnabled"); return this; } /** * The time zone to use for the VM cluster. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("timeZone") private String timeZone; /** * The time zone to use for the VM cluster. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). * * @param timeZone the value to set * @return this builder */ public Builder timeZone(String timeZone) { this.timeZone = timeZone; this.__explicitlySet__.add("timeZone"); return this; } /** The Oracle Grid Infrastructure software version for the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("giVersion") private String giVersion; /** * The Oracle Grid Infrastructure software version for the VM cluster. * * @param giVersion the value to set * @return this builder */ public Builder giVersion(String giVersion) { this.giVersion = giVersion; this.__explicitlySet__.add("giVersion"); return this; } /** The list of Db server. */ @com.fasterxml.jackson.annotation.JsonProperty("dbServers") private java.util.List dbServers; /** * The list of Db server. * * @param dbServers the value to set * @return this builder */ public Builder dbServers(java.util.List dbServers) { this.dbServers = dbServers; this.__explicitlySet__.add("dbServers"); 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; } /** Operating system version of the image. */ @com.fasterxml.jackson.annotation.JsonProperty("systemVersion") private String systemVersion; /** * Operating system version of the image. * * @param systemVersion the value to set * @return this builder */ public Builder systemVersion(String systemVersion) { this.systemVersion = systemVersion; this.__explicitlySet__.add("systemVersion"); return this; } /** Details of the file system configuration of the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("fileSystemConfigurationDetails") private java.util.List fileSystemConfigurationDetails; /** * Details of the file system configuration of the VM cluster. * * @param fileSystemConfigurationDetails the value to set * @return this builder */ public Builder fileSystemConfigurationDetails( java.util.List fileSystemConfigurationDetails) { this.fileSystemConfigurationDetails = fileSystemConfigurationDetails; this.__explicitlySet__.add("fileSystemConfigurationDetails"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("cloudAutomationUpdateDetails") private CloudAutomationUpdateDetails cloudAutomationUpdateDetails; public Builder cloudAutomationUpdateDetails( CloudAutomationUpdateDetails cloudAutomationUpdateDetails) { this.cloudAutomationUpdateDetails = cloudAutomationUpdateDetails; this.__explicitlySet__.add("cloudAutomationUpdateDetails"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public CreateVmClusterDetails build() { CreateVmClusterDetails model = new CreateVmClusterDetails( this.compartmentId, this.displayName, this.exadataInfrastructureId, this.cpuCoreCount, this.ocpuCount, this.memorySizeInGBs, this.dbNodeStorageSizeInGBs, this.dataStorageSizeInTBs, this.dataStorageSizeInGBs, this.sshPublicKeys, this.vmClusterNetworkId, this.licenseModel, this.isSparseDiskgroupEnabled, this.isLocalBackupEnabled, this.timeZone, this.giVersion, this.dbServers, this.freeformTags, this.definedTags, this.dataCollectionOptions, this.systemVersion, this.fileSystemConfigurationDetails, this.cloudAutomationUpdateDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } return model; } @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateVmClusterDetails model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } if (model.wasPropertyExplicitlySet("exadataInfrastructureId")) { this.exadataInfrastructureId(model.getExadataInfrastructureId()); } 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("dataStorageSizeInGBs")) { this.dataStorageSizeInGBs(model.getDataStorageSizeInGBs()); } if (model.wasPropertyExplicitlySet("sshPublicKeys")) { this.sshPublicKeys(model.getSshPublicKeys()); } if (model.wasPropertyExplicitlySet("vmClusterNetworkId")) { this.vmClusterNetworkId(model.getVmClusterNetworkId()); } if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } if (model.wasPropertyExplicitlySet("isSparseDiskgroupEnabled")) { this.isSparseDiskgroupEnabled(model.getIsSparseDiskgroupEnabled()); } if (model.wasPropertyExplicitlySet("isLocalBackupEnabled")) { this.isLocalBackupEnabled(model.getIsLocalBackupEnabled()); } if (model.wasPropertyExplicitlySet("timeZone")) { this.timeZone(model.getTimeZone()); } if (model.wasPropertyExplicitlySet("giVersion")) { this.giVersion(model.getGiVersion()); } if (model.wasPropertyExplicitlySet("dbServers")) { this.dbServers(model.getDbServers()); } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } if (model.wasPropertyExplicitlySet("dataCollectionOptions")) { this.dataCollectionOptions(model.getDataCollectionOptions()); } if (model.wasPropertyExplicitlySet("systemVersion")) { this.systemVersion(model.getSystemVersion()); } if (model.wasPropertyExplicitlySet("fileSystemConfigurationDetails")) { this.fileSystemConfigurationDetails(model.getFileSystemConfigurationDetails()); } if (model.wasPropertyExplicitlySet("cloudAutomationUpdateDetails")) { this.cloudAutomationUpdateDetails(model.getCloudAutomationUpdateDetails()); } return this; } } /** Create a new builder. */ public static Builder builder() { return new Builder(); } public Builder toBuilder() { return new Builder().copy(this); } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. * * @return the value */ public String getCompartmentId() { return compartmentId; } /** The user-friendly name for the 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 VM cluster. The name does not need to be unique. * * @return the value */ public String getDisplayName() { return displayName; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("exadataInfrastructureId") private final String exadataInfrastructureId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. * * @return the value */ public String getExadataInfrastructureId() { return exadataInfrastructureId; } /** The number of CPU cores to enable for the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private final Integer cpuCoreCount; /** * The number of CPU cores to enable for the VM cluster. * * @return the value */ public Integer getCpuCoreCount() { return cpuCoreCount; } /** * The number of OCPU cores to enable for the VM cluster. Only one 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 the VM cluster. Only one 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 data disk group size to be allocated in GBs. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStorageSizeInGBs") private final Double dataStorageSizeInGBs; /** * The data disk group size to be allocated in GBs. * * @return the value */ public Double getDataStorageSizeInGBs() { return dataStorageSizeInGBs; } /** The public key portion of one or more key pairs used for SSH access to the 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 VM cluster. * * @return the value */ public java.util.List getSshPublicKeys() { return sshPublicKeys; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VM * cluster network. */ @com.fasterxml.jackson.annotation.JsonProperty("vmClusterNetworkId") private final String vmClusterNetworkId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VM * cluster network. * * @return the value */ public String getVmClusterNetworkId() { return vmClusterNetworkId; } /** * The Oracle license model that applies to the VM cluster. The default is * BRING_YOUR_OWN_LICENSE. */ 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 VM cluster. The default is * BRING_YOUR_OWN_LICENSE. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private final LicenseModel licenseModel; /** * The Oracle license model that applies to the VM cluster. The default is * BRING_YOUR_OWN_LICENSE. * * @return the value */ public LicenseModel getLicenseModel() { return licenseModel; } /** * If true, the sparse disk group is configured for the VM cluster. If false, the sparse disk * group is not created. */ @com.fasterxml.jackson.annotation.JsonProperty("isSparseDiskgroupEnabled") private final Boolean isSparseDiskgroupEnabled; /** * If true, the sparse disk group is configured for the VM cluster. If false, the sparse disk * group is not created. * * @return the value */ public Boolean getIsSparseDiskgroupEnabled() { return isSparseDiskgroupEnabled; } /** * If true, database backup on local Exadata storage is configured for the VM cluster. If false, * database backup on local Exadata storage is not available in the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("isLocalBackupEnabled") private final Boolean isLocalBackupEnabled; /** * If true, database backup on local Exadata storage is configured for the VM cluster. If false, * database backup on local Exadata storage is not available in the VM cluster. * * @return the value */ public Boolean getIsLocalBackupEnabled() { return isLocalBackupEnabled; } /** * The time zone to use for the VM cluster. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("timeZone") private final String timeZone; /** * The time zone to use for the VM cluster. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). * * @return the value */ public String getTimeZone() { return timeZone; } /** The Oracle Grid Infrastructure software version for the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("giVersion") private final String giVersion; /** * The Oracle Grid Infrastructure software version for the VM cluster. * * @return the value */ public String getGiVersion() { return giVersion; } /** The list of Db server. */ @com.fasterxml.jackson.annotation.JsonProperty("dbServers") private final java.util.List dbServers; /** * The list of Db server. * * @return the value */ public java.util.List getDbServers() { return dbServers; } /** * 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; } /** Operating system version of the image. */ @com.fasterxml.jackson.annotation.JsonProperty("systemVersion") private final String systemVersion; /** * Operating system version of the image. * * @return the value */ public String getSystemVersion() { return systemVersion; } /** Details of the file system configuration of the VM cluster. */ @com.fasterxml.jackson.annotation.JsonProperty("fileSystemConfigurationDetails") private final java.util.List fileSystemConfigurationDetails; /** * Details of the file system configuration of the VM cluster. * * @return the value */ public java.util.List getFileSystemConfigurationDetails() { return fileSystemConfigurationDetails; } @com.fasterxml.jackson.annotation.JsonProperty("cloudAutomationUpdateDetails") private final CloudAutomationUpdateDetails cloudAutomationUpdateDetails; public CloudAutomationUpdateDetails getCloudAutomationUpdateDetails() { return cloudAutomationUpdateDetails; } @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("CreateVmClusterDetails("); sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", exadataInfrastructureId=") .append(String.valueOf(this.exadataInfrastructureId)); 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(", dataStorageSizeInGBs=").append(String.valueOf(this.dataStorageSizeInGBs)); sb.append(", sshPublicKeys=").append(String.valueOf(this.sshPublicKeys)); sb.append(", vmClusterNetworkId=").append(String.valueOf(this.vmClusterNetworkId)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); sb.append(", isSparseDiskgroupEnabled=") .append(String.valueOf(this.isSparseDiskgroupEnabled)); sb.append(", isLocalBackupEnabled=").append(String.valueOf(this.isLocalBackupEnabled)); sb.append(", timeZone=").append(String.valueOf(this.timeZone)); sb.append(", giVersion=").append(String.valueOf(this.giVersion)); sb.append(", dbServers=").append(String.valueOf(this.dbServers)); 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(", systemVersion=").append(String.valueOf(this.systemVersion)); sb.append(", fileSystemConfigurationDetails=") .append(String.valueOf(this.fileSystemConfigurationDetails)); sb.append(", cloudAutomationUpdateDetails=") .append(String.valueOf(this.cloudAutomationUpdateDetails)); sb.append(")"); return sb.toString(); } @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof CreateVmClusterDetails)) { return false; } CreateVmClusterDetails other = (CreateVmClusterDetails) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals( this.exadataInfrastructureId, other.exadataInfrastructureId) && 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.dataStorageSizeInGBs, other.dataStorageSizeInGBs) && java.util.Objects.equals(this.sshPublicKeys, other.sshPublicKeys) && java.util.Objects.equals(this.vmClusterNetworkId, other.vmClusterNetworkId) && java.util.Objects.equals(this.licenseModel, other.licenseModel) && java.util.Objects.equals( this.isSparseDiskgroupEnabled, other.isSparseDiskgroupEnabled) && java.util.Objects.equals(this.isLocalBackupEnabled, other.isLocalBackupEnabled) && java.util.Objects.equals(this.timeZone, other.timeZone) && java.util.Objects.equals(this.giVersion, other.giVersion) && java.util.Objects.equals(this.dbServers, other.dbServers) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.dataCollectionOptions, other.dataCollectionOptions) && java.util.Objects.equals(this.systemVersion, other.systemVersion) && java.util.Objects.equals( this.fileSystemConfigurationDetails, other.fileSystemConfigurationDetails) && java.util.Objects.equals( this.cloudAutomationUpdateDetails, other.cloudAutomationUpdateDetails) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.exadataInfrastructureId == null ? 43 : this.exadataInfrastructureId.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.dataStorageSizeInGBs == null ? 43 : this.dataStorageSizeInGBs.hashCode()); result = (result * PRIME) + (this.sshPublicKeys == null ? 43 : this.sshPublicKeys.hashCode()); result = (result * PRIME) + (this.vmClusterNetworkId == null ? 43 : this.vmClusterNetworkId.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); result = (result * PRIME) + (this.isSparseDiskgroupEnabled == null ? 43 : this.isSparseDiskgroupEnabled.hashCode()); result = (result * PRIME) + (this.isLocalBackupEnabled == null ? 43 : this.isLocalBackupEnabled.hashCode()); result = (result * PRIME) + (this.timeZone == null ? 43 : this.timeZone.hashCode()); result = (result * PRIME) + (this.giVersion == null ? 43 : this.giVersion.hashCode()); result = (result * PRIME) + (this.dbServers == null ? 43 : this.dbServers.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) + (this.systemVersion == null ? 43 : this.systemVersion.hashCode()); result = (result * PRIME) + (this.fileSystemConfigurationDetails == null ? 43 : this.fileSystemConfigurationDetails.hashCode()); result = (result * PRIME) + (this.cloudAutomationUpdateDetails == null ? 43 : this.cloudAutomationUpdateDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy