public static class DbServerSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbServerSummary.Builder |
autonomousVirtualMachineIds(List<String> autonomousVirtualMachineIds)
The list of
OCIDs of the
Autonomous Virtual Machines associated with the Db server.
|
DbServerSummary.Builder |
autonomousVmClusterIds(List<String> autonomousVmClusterIds)
The list of
OCIDs of the
Autonomous VM Clusters associated with the Db server.
|
DbServerSummary |
build() |
DbServerSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
DbServerSummary.Builder |
computeModel(DbServerSummary.ComputeModel computeModel)
The compute model of the Autonomous Database.
|
DbServerSummary.Builder |
copy(DbServerSummary model) |
DbServerSummary.Builder |
cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the Db server.
|
DbServerSummary.Builder |
dbNodeIds(List<String> dbNodeIds)
The OCID of the
Db nodes associated with the Db server.
|
DbServerSummary.Builder |
dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The allocated local node storage in GBs on the Db server.
|
DbServerSummary.Builder |
dbServerPatchingDetails(DbServerPatchingDetails dbServerPatchingDetails) |
DbServerSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DbServerSummary.Builder |
displayName(String displayName)
The user-friendly name for the Db server.
|
DbServerSummary.Builder |
exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the
Exadata infrastructure.
|
DbServerSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DbServerSummary.Builder |
id(String id)
The OCID of the
Db server.
|
DbServerSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
DbServerSummary.Builder |
lifecycleState(DbServerSummary.LifecycleState lifecycleState)
The current state of the Db server.
|
DbServerSummary.Builder |
maxCpuCount(Integer maxCpuCount)
The total number of CPU cores available.
|
DbServerSummary.Builder |
maxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)
The total local node storage available in GBs.
|
DbServerSummary.Builder |
maxMemoryInGBs(Integer maxMemoryInGBs)
The total memory available in GBs.
|
DbServerSummary.Builder |
memorySizeInGBs(Integer memorySizeInGBs)
The allocated memory in GBs on the Db server.
|
DbServerSummary.Builder |
shape(String shape)
The shape of the Db server.
|
DbServerSummary.Builder |
timeCreated(Date timeCreated)
The date and time that the Db Server was created.
|
DbServerSummary.Builder |
vmClusterIds(List<String> vmClusterIds)
The OCID of the
VM Clusters associated with the Db server.
|
public DbServerSummary.Builder id(String id)
The OCID of the Db server.
id
- the value to setpublic DbServerSummary.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 DbServerSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic DbServerSummary.Builder exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the Exadata infrastructure.
exadataInfrastructureId
- the value to setpublic DbServerSummary.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the Db server.
cpuCoreCount
- the value to setpublic DbServerSummary.Builder memorySizeInGBs(Integer memorySizeInGBs)
The allocated memory in GBs on the Db server.
memorySizeInGBs
- the value to setpublic DbServerSummary.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The allocated local node storage in GBs on the Db server.
dbNodeStorageSizeInGBs
- the value to setpublic DbServerSummary.Builder vmClusterIds(List<String> vmClusterIds)
The OCID of the VM Clusters associated with the Db server.
vmClusterIds
- the value to setpublic DbServerSummary.Builder autonomousVmClusterIds(List<String> autonomousVmClusterIds)
The list of OCIDs of the Autonomous VM Clusters associated with the Db server.
autonomousVmClusterIds
- the value to setpublic DbServerSummary.Builder autonomousVirtualMachineIds(List<String> autonomousVirtualMachineIds)
The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.
autonomousVirtualMachineIds
- the value to setpublic DbServerSummary.Builder dbNodeIds(List<String> dbNodeIds)
The OCID of the Db nodes associated with the Db server.
dbNodeIds
- the value to setpublic DbServerSummary.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 DbServerSummary.Builder lifecycleState(DbServerSummary.LifecycleState lifecycleState)
The current state of the Db server.
lifecycleState
- the value to setpublic DbServerSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic DbServerSummary.Builder maxCpuCount(Integer maxCpuCount)
The total number of CPU cores available.
maxCpuCount
- the value to setpublic DbServerSummary.Builder maxMemoryInGBs(Integer maxMemoryInGBs)
The total memory available in GBs.
maxMemoryInGBs
- the value to setpublic DbServerSummary.Builder maxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)
The total local node storage available in GBs.
maxDbNodeStorageInGBs
- the value to setpublic DbServerSummary.Builder timeCreated(Date timeCreated)
The date and time that the Db Server was created.
timeCreated
- the value to setpublic DbServerSummary.Builder dbServerPatchingDetails(DbServerPatchingDetails dbServerPatchingDetails)
public DbServerSummary.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 DbServerSummary.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 DbServerSummary.Builder computeModel(DbServerSummary.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 DbServerSummary build()
public DbServerSummary.Builder copy(DbServerSummary model)
Copyright © 2016–2025. All rights reserved.