Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbServer.Builder |
autonomousVirtualMachineIds(List<String> autonomousVirtualMachineIds)
The list of
OCIDs of the
Autonomous Virtual Machines associated with the Db server.
|
DbServer.Builder |
autonomousVmClusterIds(List<String> autonomousVmClusterIds)
The list of
OCIDs of the
Autonomous VM Clusters associated with the Db server.
|
DbServer |
build() |
DbServer.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
DbServer.Builder |
computeModel(DbServer.ComputeModel computeModel)
The compute model of the Autonomous Database.
|
DbServer.Builder |
copy(DbServer model) |
DbServer.Builder |
cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the Db server.
|
DbServer.Builder |
dbNodeIds(List<String> dbNodeIds)
The OCID of the
Db nodes associated with the Db server.
|
DbServer.Builder |
dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The allocated local node storage in GBs on the Db server.
|
DbServer.Builder |
dbServerPatchingDetails(DbServerPatchingDetails dbServerPatchingDetails) |
DbServer.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DbServer.Builder |
displayName(String displayName)
The user-friendly name for the Db server.
|
DbServer.Builder |
exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the
Exadata infrastructure.
|
DbServer.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DbServer.Builder |
id(String id)
The OCID of the
Db server.
|
DbServer.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
DbServer.Builder |
lifecycleState(DbServer.LifecycleState lifecycleState)
The current state of the Db server.
|
DbServer.Builder |
maxCpuCount(Integer maxCpuCount)
The total number of CPU cores available.
|
DbServer.Builder |
maxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)
The total local node storage available in GBs.
|
DbServer.Builder |
maxMemoryInGBs(Integer maxMemoryInGBs)
The total memory available in GBs.
|
DbServer.Builder |
memorySizeInGBs(Integer memorySizeInGBs)
The allocated memory in GBs on the Db server.
|
DbServer.Builder |
shape(String shape)
The shape of the Db server.
|
DbServer.Builder |
timeCreated(Date timeCreated)
The date and time that the Db Server was created.
|
DbServer.Builder |
vmClusterIds(List<String> vmClusterIds)
The OCID of the
VM Clusters associated with the Db server.
|
public DbServer.Builder id(String id)
The OCID of the Db server.
id
- the value to setpublic DbServer.Builder displayName(String displayName)
The user-friendly name for the Db server. The name does not need to be unique.
displayName
- the value to setpublic DbServer.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic DbServer.Builder exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the Exadata infrastructure.
exadataInfrastructureId
- the value to setpublic DbServer.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the Db server.
cpuCoreCount
- the value to setpublic DbServer.Builder memorySizeInGBs(Integer memorySizeInGBs)
The allocated memory in GBs on the Db server.
memorySizeInGBs
- the value to setpublic DbServer.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The allocated local node storage in GBs on the Db server.
dbNodeStorageSizeInGBs
- the value to setpublic DbServer.Builder vmClusterIds(List<String> vmClusterIds)
The OCID of the VM Clusters associated with the Db server.
vmClusterIds
- the value to setpublic DbServer.Builder autonomousVmClusterIds(List<String> autonomousVmClusterIds)
The list of OCIDs of the Autonomous VM Clusters associated with the Db server.
autonomousVmClusterIds
- the value to setpublic DbServer.Builder autonomousVirtualMachineIds(List<String> autonomousVirtualMachineIds)
The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.
autonomousVirtualMachineIds
- the value to setpublic DbServer.Builder dbNodeIds(List<String> dbNodeIds)
The OCID of the Db nodes associated with the Db server.
dbNodeIds
- the value to setpublic DbServer.Builder shape(String shape)
The shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available.
shape
- the value to setpublic DbServer.Builder lifecycleState(DbServer.LifecycleState lifecycleState)
The current state of the Db server.
lifecycleState
- the value to setpublic DbServer.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic DbServer.Builder maxCpuCount(Integer maxCpuCount)
The total number of CPU cores available.
maxCpuCount
- the value to setpublic DbServer.Builder maxMemoryInGBs(Integer maxMemoryInGBs)
The total memory available in GBs.
maxMemoryInGBs
- the value to setpublic DbServer.Builder maxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)
The total local node storage available in GBs.
maxDbNodeStorageInGBs
- the value to setpublic DbServer.Builder timeCreated(Date timeCreated)
The date and time that the Db Server was created.
timeCreated
- the value to setpublic DbServer.Builder dbServerPatchingDetails(DbServerPatchingDetails dbServerPatchingDetails)
public DbServer.Builder freeformTags(Map<String,String> 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.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic DbServer.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
definedTags
- the value to setpublic DbServer.Builder computeModel(DbServer.ComputeModel computeModel)
The compute model of the Autonomous Database. This is required if using the computeCount
parameter. If using cpuCoreCount
then it is an error to specify
computeModel
to a non-null value. ECPU compute model is the recommended model and
OCPU compute model is legacy.
computeModel
- the value to setpublic DbServer build()
public DbServer.Builder copy(DbServer model)
Copyright © 2016–2025. All rights reserved.