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 Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All 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
- 
timeCollected
public DBExternalInstance.Builder timeCollected(Date timeCollected)
 
- 
instanceName
public DBExternalInstance.Builder instanceName(String instanceName)
Name of the database instance.- Parameters:
 instanceName- the value to set- Returns:
 - this builder
 
 
- 
hostName
public DBExternalInstance.Builder hostName(String hostName)
Host name of the database instance.- Parameters:
 hostName- the value to set- Returns:
 - this builder
 
 
- 
cpuCount
public DBExternalInstance.Builder cpuCount(Integer cpuCount)
Total number of CPUs allocated for the host.- Parameters:
 cpuCount- the value to set- Returns:
 - this builder
 
 
- 
hostMemoryCapacity
public DBExternalInstance.Builder hostMemoryCapacity(Double hostMemoryCapacity)
Total amount of usable Physical RAM Memory available in gigabytes.- Parameters:
 hostMemoryCapacity- the value to set- Returns:
 - this builder
 
 
- 
version
public DBExternalInstance.Builder version(String version)
Database version.- Parameters:
 version- the value to set- Returns:
 - this builder
 
 
- 
parallel
public 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
 
 
- 
instanceRole
public DBExternalInstance.Builder instanceRole(String instanceRole)
Role (permissions) of the database instance.- Parameters:
 instanceRole- the value to set- Returns:
 - this builder
 
 
- 
logins
public DBExternalInstance.Builder logins(String logins)
Indicates if logins are allowed or restricted.- Parameters:
 logins- the value to set- Returns:
 - this builder
 
 
- 
databaseStatus
public DBExternalInstance.Builder databaseStatus(String databaseStatus)
Status of the database.- Parameters:
 databaseStatus- the value to set- Returns:
 - this builder
 
 
- 
status
public DBExternalInstance.Builder status(String status)
Status of the instance.- Parameters:
 status- the value to set- Returns:
 - this builder
 
 
- 
edition
public DBExternalInstance.Builder edition(String edition)
The edition of the database.- Parameters:
 edition- the value to set- Returns:
 - this builder
 
 
- 
startupTime
public DBExternalInstance.Builder startupTime(Date startupTime)
Start up time of the database instance.- Parameters:
 startupTime- the value to set- Returns:
 - this builder
 
 
- 
build
public DBExternalInstance build()
 
- 
copy
public DBExternalInstance.Builder copy(DBExternalInstance model)
 
 - 
 
 -