public static class DbNodeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbNodeSummary.Builder |
additionalDetails(String additionalDetails)
Additional information about the planned maintenance.
|
DbNodeSummary.Builder |
backupIpId(String backupIpId)
The OCID of the
backup IP address associated with the database node.
|
DbNodeSummary.Builder |
backupVnic2Id(String backupVnic2Id)
The OCID of the
second backup VNIC.
|
DbNodeSummary.Builder |
backupVnicId(String backupVnicId)
The OCID of the
backup VNIC.
|
DbNodeSummary |
build() |
DbNodeSummary.Builder |
copy(DbNodeSummary model) |
DbNodeSummary.Builder |
cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the Db node.
|
DbNodeSummary.Builder |
dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The allocated local node storage in GBs on the Db node.
|
DbNodeSummary.Builder |
dbServerId(String dbServerId)
The OCID of the
Exacc Db server associated with the database node.
|
DbNodeSummary.Builder |
dbSystemId(String dbSystemId)
The OCID of the
DB system.
|
DbNodeSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DbNodeSummary.Builder |
faultDomain(String faultDomain)
The name of the Fault Domain the instance is contained in.
|
DbNodeSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DbNodeSummary.Builder |
hostIpId(String hostIpId)
The OCID of the
host IP address associated with the database node.
|
DbNodeSummary.Builder |
hostname(String hostname)
The host name for the database node.
|
DbNodeSummary.Builder |
id(String id)
The OCID of the
database node.
|
DbNodeSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Information about the current lifecycle state.
|
DbNodeSummary.Builder |
lifecycleState(DbNodeSummary.LifecycleState lifecycleState)
The current state of the database node.
|
DbNodeSummary.Builder |
maintenanceType(DbNodeSummary.MaintenanceType maintenanceType)
The type of database node maintenance.
|
DbNodeSummary.Builder |
memorySizeInGBs(Integer memorySizeInGBs)
The allocated memory in GBs on the Db node.
|
DbNodeSummary.Builder |
softwareStorageSizeInGB(Integer softwareStorageSizeInGB)
The size (in GB) of the block storage volume allocation for the DB system.
|
DbNodeSummary.Builder |
timeCreated(Date timeCreated)
The date and time that the database node was created.
|
DbNodeSummary.Builder |
timeMaintenanceWindowEnd(Date timeMaintenanceWindowEnd)
End date and time of maintenance window.
|
DbNodeSummary.Builder |
timeMaintenanceWindowStart(Date timeMaintenanceWindowStart)
Start date and time of maintenance window.
|
DbNodeSummary.Builder |
totalCpuCoreCount(Integer totalCpuCoreCount)
The total number of CPU cores reserved on the Db node.
|
DbNodeSummary.Builder |
vnic2Id(String vnic2Id)
The OCID of the
second VNIC.
|
DbNodeSummary.Builder |
vnicId(String vnicId)
The OCID of the
VNIC.
|
public DbNodeSummary.Builder id(String id)
The OCID of the database node.
id
- the value to setpublic DbNodeSummary.Builder dbSystemId(String dbSystemId)
The OCID of the DB system.
dbSystemId
- the value to setpublic DbNodeSummary.Builder vnicId(String vnicId)
The OCID of the VNIC.
vnicId
- the value to setpublic DbNodeSummary.Builder backupVnicId(String backupVnicId)
The OCID of the backup VNIC.
backupVnicId
- the value to setpublic DbNodeSummary.Builder hostIpId(String hostIpId)
The OCID of the
host IP address associated with the database node. Use this OCID with either the getPrivateIp
or the getPublicIpByPrivateIpId
API
to get the IP address needed to make a database connection.
*Note:** Applies only to Exadata Cloud Service.
hostIpId
- the value to setpublic DbNodeSummary.Builder backupIpId(String backupIpId)
The OCID of the
backup IP address associated with the database node. Use this OCID with either the getPrivateIp
or the getPublicIpByPrivateIpId
API
to get the IP address needed to make a database connection.
*Note:** Applies only to Exadata Cloud Service.
backupIpId
- the value to setpublic DbNodeSummary.Builder vnic2Id(String vnic2Id)
The OCID of the second VNIC.
*Note:** Applies only to Exadata Cloud Service.
vnic2Id
- the value to setpublic DbNodeSummary.Builder backupVnic2Id(String backupVnic2Id)
The OCID of the second backup VNIC.
*Note:** Applies only to Exadata Cloud Service.
backupVnic2Id
- the value to setpublic DbNodeSummary.Builder lifecycleState(DbNodeSummary.LifecycleState lifecycleState)
The current state of the database node.
lifecycleState
- the value to setpublic DbNodeSummary.Builder hostname(String hostname)
The host name for the database node.
hostname
- the value to setpublic DbNodeSummary.Builder faultDomain(String faultDomain)
The name of the Fault Domain the instance is contained in.
faultDomain
- the value to setpublic DbNodeSummary.Builder timeCreated(Date timeCreated)
The date and time that the database node was created.
timeCreated
- the value to setpublic DbNodeSummary.Builder softwareStorageSizeInGB(Integer softwareStorageSizeInGB)
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
softwareStorageSizeInGB
- the value to setpublic DbNodeSummary.Builder maintenanceType(DbNodeSummary.MaintenanceType maintenanceType)
The type of database node maintenance.
maintenanceType
- the value to setpublic DbNodeSummary.Builder timeMaintenanceWindowStart(Date timeMaintenanceWindowStart)
Start date and time of maintenance window.
timeMaintenanceWindowStart
- the value to setpublic DbNodeSummary.Builder timeMaintenanceWindowEnd(Date timeMaintenanceWindowEnd)
End date and time of maintenance window.
timeMaintenanceWindowEnd
- the value to setpublic DbNodeSummary.Builder additionalDetails(String additionalDetails)
Additional information about the planned maintenance.
additionalDetails
- the value to setpublic DbNodeSummary.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 DbNodeSummary.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 DbNodeSummary.Builder lifecycleDetails(String lifecycleDetails)
Information about the current lifecycle state.
lifecycleDetails
- the value to setpublic DbNodeSummary.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the Db node.
cpuCoreCount
- the value to setpublic DbNodeSummary.Builder memorySizeInGBs(Integer memorySizeInGBs)
The allocated memory in GBs on the Db node.
memorySizeInGBs
- the value to setpublic DbNodeSummary.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The allocated local node storage in GBs on the Db node.
dbNodeStorageSizeInGBs
- the value to setpublic DbNodeSummary.Builder totalCpuCoreCount(Integer totalCpuCoreCount)
The total number of CPU cores reserved on the Db node.
totalCpuCoreCount
- the value to setpublic DbNodeSummary.Builder dbServerId(String dbServerId)
The OCID of the Exacc Db server associated with the database node.
dbServerId
- the value to setpublic DbNodeSummary build()
public DbNodeSummary.Builder copy(DbNodeSummary model)
Copyright © 2016–2024. All rights reserved.