Class UpdateCloudVmClusterDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.UpdateCloudVmClusterDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateCloudVmClusterDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details for updating the cloud VM cluster.Applies to Exadata Cloud Service instances only.
Note: Objects should always be created or deserialized using theUpdateCloudVmClusterDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theUpdateCloudVmClusterDetails.Builder
, which maintain a set of all explicitly set fields calledUpdateCloudVmClusterDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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 null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateCloudVmClusterDetails.Builder
static class
UpdateCloudVmClusterDetails.LicenseModel
The Oracle license model that applies to the cloud VM cluster.
-
Constructor Summary
Constructors Constructor Description UpdateCloudVmClusterDetails(String displayName, Integer cpuCoreCount, Float ocpuCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Double dataStorageSizeInTBs, UpdateCloudVmClusterDetails.LicenseModel licenseModel, List<String> sshPublicKeys, UpdateDetails updateDetails, List<String> nsgIds, List<String> backupNetworkNsgIds, List<String> computeNodes, Integer storageSizeInGBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, DataCollectionOptions dataCollectionOptions, List<FileSystemConfigurationDetail> fileSystemConfigurationDetails, CloudAutomationUpdateDetails cloudAutomationUpdateDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateCloudVmClusterDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<String>
getBackupNetworkNsgIds()
A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.CloudAutomationUpdateDetails
getCloudAutomationUpdateDetails()
List<String>
getComputeNodes()
The list of compute servers to be added to the cloud VM cluster.Integer
getCpuCoreCount()
The number of CPU cores to enable for the cloud VM cluster.DataCollectionOptions
getDataCollectionOptions()
Double
getDataStorageSizeInTBs()
The data disk group size to be allocated in TBs.Integer
getDbNodeStorageSizeInGBs()
The local node storage to be allocated in GBs.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
The user-friendly name for the cloud VM cluster.List<FileSystemConfigurationDetail>
getFileSystemConfigurationDetails()
Details of the file system configuration of the VM cluster.Map<String,String>
getFreeformTags()
Free-form tags for this resource.UpdateCloudVmClusterDetails.LicenseModel
getLicenseModel()
The Oracle license model that applies to the cloud VM cluster.Integer
getMemorySizeInGBs()
The memory to be allocated in GBs.List<String>
getNsgIds()
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.Float
getOcpuCount()
The number of OCPU cores to enable for a cloud VM cluster.Map<String,Map<String,Object>>
getSecurityAttributes()
Security Attributes for this resource.List<String>
getSshPublicKeys()
The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.Integer
getStorageSizeInGBs()
The disk group size to be allocated in GBs.UpdateDetails
getUpdateDetails()
int
hashCode()
UpdateCloudVmClusterDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateCloudVmClusterDetails
@Deprecated @ConstructorProperties({"displayName","cpuCoreCount","ocpuCount","memorySizeInGBs","dbNodeStorageSizeInGBs","dataStorageSizeInTBs","licenseModel","sshPublicKeys","updateDetails","nsgIds","backupNetworkNsgIds","computeNodes","storageSizeInGBs","freeformTags","definedTags","securityAttributes","dataCollectionOptions","fileSystemConfigurationDetails","cloudAutomationUpdateDetails"}) public UpdateCloudVmClusterDetails(String displayName, Integer cpuCoreCount, Float ocpuCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Double dataStorageSizeInTBs, UpdateCloudVmClusterDetails.LicenseModel licenseModel, List<String> sshPublicKeys, UpdateDetails updateDetails, List<String> nsgIds, List<String> backupNetworkNsgIds, List<String> computeNodes, Integer storageSizeInGBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, DataCollectionOptions dataCollectionOptions, List<FileSystemConfigurationDetail> fileSystemConfigurationDetails, CloudAutomationUpdateDetails cloudAutomationUpdateDetails)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateCloudVmClusterDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateCloudVmClusterDetails.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The user-friendly name for the cloud VM cluster.The name does not need to be unique.
- Returns:
- the value
-
getCpuCoreCount
public Integer getCpuCoreCount()
The number of CPU cores to enable for the cloud VM cluster.- Returns:
- the value
-
getOcpuCount
public Float getOcpuCount()
The number of OCPU cores to enable for a cloud VM cluster.Only 1 decimal place is allowed for the fractional part.
- Returns:
- the value
-
getMemorySizeInGBs
public Integer getMemorySizeInGBs()
The memory to be allocated in GBs.- Returns:
- the value
-
getDbNodeStorageSizeInGBs
public Integer getDbNodeStorageSizeInGBs()
The local node storage to be allocated in GBs.- Returns:
- the value
-
getDataStorageSizeInTBs
public Double getDataStorageSizeInTBs()
The data disk group size to be allocated in TBs.- Returns:
- the value
-
getLicenseModel
public UpdateCloudVmClusterDetails.LicenseModel getLicenseModel()
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.
- Returns:
- the value
-
getSshPublicKeys
public List<String> getSshPublicKeys()
The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.- Returns:
- the value
-
getUpdateDetails
public UpdateDetails getUpdateDetails()
-
getNsgIds
public List<String> getNsgIds()
The list of OCIDs 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. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
- Returns:
- the value
-
getBackupNetworkNsgIds
public List<String> getBackupNetworkNsgIds()
A list of the OCIDs 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. Applicable only to Exadata systems.
- Returns:
- the value
-
getComputeNodes
public List<String> getComputeNodes()
The list of compute servers to be added to the cloud VM cluster.- Returns:
- the value
-
getStorageSizeInGBs
public Integer getStorageSizeInGBs()
The disk group size to be allocated in GBs.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
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.
Example: {"Department": "Finance"}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns:
- the value
-
getSecurityAttributes
public Map<String,Map<String,Object>> getSecurityAttributes()
Security Attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}
- Returns:
- the value
-
getDataCollectionOptions
public DataCollectionOptions getDataCollectionOptions()
-
getFileSystemConfigurationDetails
public List<FileSystemConfigurationDetail> getFileSystemConfigurationDetails()
Details of the file system configuration of the VM cluster.- Returns:
- the value
-
getCloudAutomationUpdateDetails
public CloudAutomationUpdateDetails getCloudAutomationUpdateDetails()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-