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 CloudServicedDatabasebuild()CloudServicedDatabase.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the cloud database resides.CloudServicedDatabase.Buildercopy(CloudServicedDatabase model)CloudServicedDatabase.BuilderdatabaseSubType(DatabaseSubType databaseSubType)The subtype of Oracle Database.CloudServicedDatabase.BuilderdatabaseType(DatabaseType databaseType)The type of Oracle Database installation.CloudServicedDatabase.BuilderdbaasId(String dbaasId)The OCID of the existing Dbaas OCI resource matching the discovered DB system component.CloudServicedDatabase.BuilderdbUniqueName(String dbUniqueName)The unique name of the cloud database.CloudServicedDatabase.BuilderdisplayName(String displayName)The user-friendly name for the database.CloudServicedDatabase.Builderid(String id)The OCID of the cloud database.CloudServicedDatabase.BuilderisManaged(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)
-
-