Class CloudServicedDatabase.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudServicedDatabase.Builder
-
- Enclosing class:
- CloudServicedDatabase
public static class CloudServicedDatabase.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudServicedDatabase
build()
CloudServicedDatabase.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the cloud database resides.CloudServicedDatabase.Builder
copy(CloudServicedDatabase model)
CloudServicedDatabase.Builder
databaseSubType(DatabaseSubType databaseSubType)
The subtype of Oracle Database.CloudServicedDatabase.Builder
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.CloudServicedDatabase.Builder
dbaasId(String dbaasId)
The OCID of the existing Dbaas OCI resource matching the discovered DB system component.CloudServicedDatabase.Builder
dbUniqueName(String dbUniqueName)
The unique name of the cloud database.CloudServicedDatabase.Builder
displayName(String displayName)
The user-friendly name for the database.CloudServicedDatabase.Builder
id(String id)
The OCID of the cloud database.CloudServicedDatabase.Builder
isManaged(Boolean isManaged)
Indicates whether the database is a Managed Database or not.
-
-
-
Method Detail
-
id
public CloudServicedDatabase.Builder id(String id)
The OCID of the cloud database.- Parameters:
id
- the value to set- Returns:
- this builder
-
dbaasId
public CloudServicedDatabase.Builder dbaasId(String dbaasId)
The OCID of the existing Dbaas OCI resource matching the discovered DB system component.- Parameters:
dbaasId
- the value to set- Returns:
- this builder
-
displayName
public CloudServicedDatabase.Builder displayName(String displayName)
The user-friendly name for the database.The name does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
dbUniqueName
public CloudServicedDatabase.Builder dbUniqueName(String dbUniqueName)
The unique name of the cloud database.- Parameters:
dbUniqueName
- the value to set- Returns:
- this builder
-
compartmentId
public CloudServicedDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the cloud database resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
databaseType
public CloudServicedDatabase.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.- Parameters:
databaseType
- the value to set- Returns:
- this builder
-
databaseSubType
public CloudServicedDatabase.Builder databaseSubType(DatabaseSubType databaseSubType)
The subtype of Oracle Database.Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- Parameters:
databaseSubType
- the value to set- Returns:
- this builder
-
isManaged
public CloudServicedDatabase.Builder isManaged(Boolean isManaged)
Indicates whether the database is a Managed Database or not.- Parameters:
isManaged
- the value to set- Returns:
- this builder
-
build
public CloudServicedDatabase build()
-
copy
public CloudServicedDatabase.Builder copy(CloudServicedDatabase model)
-
-