Class ExternalServicedDatabase.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ExternalServicedDatabase.Builder
-
- Enclosing class:
- ExternalServicedDatabase
public static class ExternalServicedDatabase.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalServicedDatabase
build()
ExternalServicedDatabase.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the external database resides.ExternalServicedDatabase.Builder
copy(ExternalServicedDatabase model)
ExternalServicedDatabase.Builder
databaseSubType(DatabaseSubType databaseSubType)
The subtype of Oracle Database.ExternalServicedDatabase.Builder
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.ExternalServicedDatabase.Builder
dbUniqueName(String dbUniqueName)
The unique name of the external database.ExternalServicedDatabase.Builder
displayName(String displayName)
The user-friendly name for the database.ExternalServicedDatabase.Builder
id(String id)
The OCID of the external database.ExternalServicedDatabase.Builder
isManaged(Boolean isManaged)
Indicates whether the database is a Managed Database or not.
-
-
-
Method Detail
-
id
public ExternalServicedDatabase.Builder id(String id)
The OCID of the external database.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ExternalServicedDatabase.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 ExternalServicedDatabase.Builder dbUniqueName(String dbUniqueName)
The unique name of the external database.- Parameters:
dbUniqueName
- the value to set- Returns:
- this builder
-
compartmentId
public ExternalServicedDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the external database resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
databaseType
public ExternalServicedDatabase.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.- Parameters:
databaseType
- the value to set- Returns:
- this builder
-
databaseSubType
public ExternalServicedDatabase.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 ExternalServicedDatabase.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 ExternalServicedDatabase build()
-
copy
public ExternalServicedDatabase.Builder copy(ExternalServicedDatabase model)
-
-