public static class DatabaseDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseDetails |
build() |
DatabaseDetails.Builder |
cdbName(String cdbName)
Name of the CDB.Only applies to PDB.
|
DatabaseDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
DatabaseDetails.Builder |
copy(DatabaseDetails model) |
DatabaseDetails.Builder |
databaseDisplayName(String databaseDisplayName)
The user-friendly name for the database.
|
DatabaseDetails.Builder |
databaseId(String databaseId)
The OCID
of the database.
|
DatabaseDetails.Builder |
databaseName(String databaseName)
The database name.
|
DatabaseDetails.Builder |
databaseType(String databaseType)
Ops Insights internal representation of the database type.
|
DatabaseDetails.Builder |
databaseVersion(String databaseVersion)
The version of the database.
|
DatabaseDetails.Builder |
id(String id)
The OCID
of the database insight resource.
|
DatabaseDetails.Builder |
instances(List<HostInstanceMap> instances)
Array of hostname and instance name.
|
public DatabaseDetails.Builder id(String id)
The OCID of the database insight resource.
id
- the value to setpublic DatabaseDetails.Builder databaseId(String databaseId)
The OCID of the database.
databaseId
- the value to setpublic DatabaseDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic DatabaseDetails.Builder databaseName(String databaseName)
The database name. The database name is unique within the tenancy.
databaseName
- the value to setpublic DatabaseDetails.Builder databaseDisplayName(String databaseDisplayName)
The user-friendly name for the database. The name does not have to be unique.
databaseDisplayName
- the value to setpublic DatabaseDetails.Builder databaseType(String databaseType)
Ops Insights internal representation of the database type.
databaseType
- the value to setpublic DatabaseDetails.Builder databaseVersion(String databaseVersion)
The version of the database.
databaseVersion
- the value to setpublic DatabaseDetails.Builder instances(List<HostInstanceMap> instances)
Array of hostname and instance name.
instances
- the value to setpublic DatabaseDetails.Builder cdbName(String cdbName)
Name of the CDB.Only applies to PDB.
cdbName
- the value to setpublic DatabaseDetails build()
public DatabaseDetails.Builder copy(DatabaseDetails model)
Copyright © 2016–2024. All rights reserved.