Package com.oracle.bmc.opsi.model
Class DBExternalInstance.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.model.DBExternalInstance.Builder
 
- 
- Enclosing class:
- DBExternalInstance
 
 public static class DBExternalInstance.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DBExternalInstancebuild()DBExternalInstance.Buildercopy(DBExternalInstance model)DBExternalInstance.BuildercpuCount(Integer cpuCount)Total number of CPUs allocated for the host.DBExternalInstance.BuilderdatabaseStatus(String databaseStatus)Status of the database.DBExternalInstance.Builderedition(String edition)The edition of the database.DBExternalInstance.BuilderhostMemoryCapacity(Double hostMemoryCapacity)Total amount of usable Physical RAM Memory available in gigabytes.DBExternalInstance.BuilderhostName(String hostName)Host name of the database instance.DBExternalInstance.BuilderinstanceName(String instanceName)Name of the database instance.DBExternalInstance.BuilderinstanceRole(String instanceRole)Role (permissions) of the database instance.DBExternalInstance.Builderlogins(String logins)Indicates if logins are allowed or restricted.DBExternalInstance.Builderparallel(String parallel)Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).DBExternalInstance.BuilderstartupTime(Date startupTime)Start up time of the database instance.DBExternalInstance.Builderstatus(String status)Status of the instance.DBExternalInstance.BuildertimeCollected(Date timeCollected)DBExternalInstance.Builderversion(String version)Database version.
 
- 
- 
- 
Method Detail- 
timeCollectedpublic DBExternalInstance.Builder timeCollected(Date timeCollected) 
 - 
instanceNamepublic DBExternalInstance.Builder instanceName(String instanceName) Name of the database instance.- Parameters:
- instanceName- the value to set
- Returns:
- this builder
 
 - 
hostNamepublic DBExternalInstance.Builder hostName(String hostName) Host name of the database instance.- Parameters:
- hostName- the value to set
- Returns:
- this builder
 
 - 
cpuCountpublic DBExternalInstance.Builder cpuCount(Integer cpuCount) Total number of CPUs allocated for the host.- Parameters:
- cpuCount- the value to set
- Returns:
- this builder
 
 - 
hostMemoryCapacitypublic DBExternalInstance.Builder hostMemoryCapacity(Double hostMemoryCapacity) Total amount of usable Physical RAM Memory available in gigabytes.- Parameters:
- hostMemoryCapacity- the value to set
- Returns:
- this builder
 
 - 
versionpublic DBExternalInstance.Builder version(String version) Database version.- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
parallelpublic DBExternalInstance.Builder parallel(String parallel) Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).- Parameters:
- parallel- the value to set
- Returns:
- this builder
 
 - 
instanceRolepublic DBExternalInstance.Builder instanceRole(String instanceRole) Role (permissions) of the database instance.- Parameters:
- instanceRole- the value to set
- Returns:
- this builder
 
 - 
loginspublic DBExternalInstance.Builder logins(String logins) Indicates if logins are allowed or restricted.- Parameters:
- logins- the value to set
- Returns:
- this builder
 
 - 
databaseStatuspublic DBExternalInstance.Builder databaseStatus(String databaseStatus) Status of the database.- Parameters:
- databaseStatus- the value to set
- Returns:
- this builder
 
 - 
statuspublic DBExternalInstance.Builder status(String status) Status of the instance.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
editionpublic DBExternalInstance.Builder edition(String edition) The edition of the database.- Parameters:
- edition- the value to set
- Returns:
- this builder
 
 - 
startupTimepublic DBExternalInstance.Builder startupTime(Date startupTime) Start up time of the database instance.- Parameters:
- startupTime- the value to set
- Returns:
- this builder
 
 - 
buildpublic DBExternalInstance build() 
 - 
copypublic DBExternalInstance.Builder copy(DBExternalInstance model) 
 
- 
 
-