Package com.oracle.bmc.database.model
Class DbServerSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.DbServerSummary.Builder
 
- 
- Enclosing class:
- DbServerSummary
 
 public static class DbServerSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DbServerSummary.BuilderautonomousVirtualMachineIds(List<String> autonomousVirtualMachineIds)The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.DbServerSummary.BuilderautonomousVmClusterIds(List<String> autonomousVmClusterIds)The list of OCIDs of the Autonomous VM Clusters associated with the Db server.DbServerSummarybuild()DbServerSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.DbServerSummary.BuildercomputeModel(DbServerSummary.ComputeModel computeModel)The compute model of the Autonomous AI Database.DbServerSummary.Buildercopy(DbServerSummary model)DbServerSummary.BuildercpuCoreCount(Integer cpuCoreCount)The number of CPU cores enabled on the Db server.DbServerSummary.BuilderdbNodeIds(List<String> dbNodeIds)The OCID of the Db nodes associated with the Db server.DbServerSummary.BuilderdbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)The allocated local node storage in GBs on the Db server.DbServerSummary.BuilderdbServerPatchingDetails(DbServerPatchingDetails dbServerPatchingDetails)DbServerSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DbServerSummary.BuilderdisplayName(String displayName)The user-friendly name for the Db server.DbServerSummary.BuilderexadataInfrastructureId(String exadataInfrastructureId)The OCID of the Exadata infrastructure.DbServerSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DbServerSummary.Builderid(String id)The OCID of the Db server.DbServerSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.DbServerSummary.BuilderlifecycleState(DbServerSummary.LifecycleState lifecycleState)The current state of the Db server.DbServerSummary.BuildermaxCpuCount(Integer maxCpuCount)The total number of CPU cores available.DbServerSummary.BuildermaxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)The total local node storage available in GBs.DbServerSummary.BuildermaxMemoryInGBs(Integer maxMemoryInGBs)The total memory available in GBs.DbServerSummary.BuildermemorySizeInGBs(Integer memorySizeInGBs)The allocated memory in GBs on the Db server.DbServerSummary.Buildershape(String shape)The shape of the Db server.DbServerSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DbServerSummary.BuildertimeCreated(Date timeCreated)The date and time that the Db Server was created.DbServerSummary.BuildervmClusterIds(List<String> vmClusterIds)The OCID of the VM Clusters associated with the Db server.
 
- 
- 
- 
Method Detail- 
idpublic DbServerSummary.Builder id(String id) The OCID of the Db server.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DbServerSummary.Builder displayName(String displayName) The user-friendly name for the Db server.The name does not need to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DbServerSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
exadataInfrastructureIdpublic DbServerSummary.Builder exadataInfrastructureId(String exadataInfrastructureId) The OCID of the Exadata infrastructure.- Parameters:
- exadataInfrastructureId- the value to set
- Returns:
- this builder
 
 - 
cpuCoreCountpublic DbServerSummary.Builder cpuCoreCount(Integer cpuCoreCount) The number of CPU cores enabled on the Db server.- Parameters:
- cpuCoreCount- the value to set
- Returns:
- this builder
 
 - 
memorySizeInGBspublic DbServerSummary.Builder memorySizeInGBs(Integer memorySizeInGBs) The allocated memory in GBs on the Db server.- Parameters:
- memorySizeInGBs- the value to set
- Returns:
- this builder
 
 - 
dbNodeStorageSizeInGBspublic DbServerSummary.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs) The allocated local node storage in GBs on the Db server.- Parameters:
- dbNodeStorageSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
vmClusterIdspublic DbServerSummary.Builder vmClusterIds(List<String> vmClusterIds) The OCID of the VM Clusters associated with the Db server.- Parameters:
- vmClusterIds- the value to set
- Returns:
- this builder
 
 - 
autonomousVmClusterIdspublic DbServerSummary.Builder autonomousVmClusterIds(List<String> autonomousVmClusterIds) The list of OCIDs of the Autonomous VM Clusters associated with the Db server.- Parameters:
- autonomousVmClusterIds- the value to set
- Returns:
- this builder
 
 - 
autonomousVirtualMachineIdspublic DbServerSummary.Builder autonomousVirtualMachineIds(List<String> autonomousVirtualMachineIds) The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.- Parameters:
- autonomousVirtualMachineIds- the value to set
- Returns:
- this builder
 
 - 
dbNodeIdspublic DbServerSummary.Builder dbNodeIds(List<String> dbNodeIds) The OCID of the Db nodes associated with the Db server.- Parameters:
- dbNodeIds- the value to set
- Returns:
- this builder
 
 - 
shapepublic DbServerSummary.Builder shape(String shape) The shape of the Db server.The shape determines the amount of CPU, storage, and memory resources available. - Parameters:
- shape- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DbServerSummary.Builder lifecycleState(DbServerSummary.LifecycleState lifecycleState) The current state of the Db server.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic DbServerSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
maxCpuCountpublic DbServerSummary.Builder maxCpuCount(Integer maxCpuCount) The total number of CPU cores available.- Parameters:
- maxCpuCount- the value to set
- Returns:
- this builder
 
 - 
maxMemoryInGBspublic DbServerSummary.Builder maxMemoryInGBs(Integer maxMemoryInGBs) The total memory available in GBs.- Parameters:
- maxMemoryInGBs- the value to set
- Returns:
- this builder
 
 - 
maxDbNodeStorageInGBspublic DbServerSummary.Builder maxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs) The total local node storage available in GBs.- Parameters:
- maxDbNodeStorageInGBs- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DbServerSummary.Builder timeCreated(Date timeCreated) The date and time that the Db Server was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
dbServerPatchingDetailspublic DbServerSummary.Builder dbServerPatchingDetails(DbServerPatchingDetails dbServerPatchingDetails) 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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. - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic DbServerSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
computeModelpublic DbServerSummary.Builder computeModel(DbServerSummary.ComputeModel computeModel) The compute model of the Autonomous AI 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. - Parameters:
- computeModel- the value to set
- Returns:
- this builder
 
 - 
buildpublic DbServerSummary build() 
 - 
copypublic DbServerSummary.Builder copy(DbServerSummary model) 
 
- 
 
-