public static class PeerTargetDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PeerTargetDatabase |
build() |
PeerTargetDatabase.Builder |
copy(PeerTargetDatabase model) |
PeerTargetDatabase.Builder |
databaseDetails(DatabaseDetails databaseDetails) |
PeerTargetDatabase.Builder |
databaseUniqueName(String databaseUniqueName)
Unique name of the database associated to the peer target database.
|
PeerTargetDatabase.Builder |
dataguardAssociationId(String dataguardAssociationId)
The OCID of the Data Guard Association resource in which the database associated to the
peer target database is considered as peer database to the primary database.
|
PeerTargetDatabase.Builder |
description(String description)
The description of the peer target database in Data Safe.
|
PeerTargetDatabase.Builder |
displayName(String displayName)
The display name of the peer target database in Data Safe.
|
PeerTargetDatabase.Builder |
key(Integer key)
The secondary key assigned for the peer target database in Data Safe.
|
PeerTargetDatabase.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the peer target database in Data Safe.
|
PeerTargetDatabase.Builder |
lifecycleState(TargetDatabaseLifecycleState lifecycleState)
The current state of the peer target database in Data Safe.
|
PeerTargetDatabase.Builder |
role(String role)
Role of the database associated to the peer target database.
|
PeerTargetDatabase.Builder |
timeCreated(Date timeCreated)
The date and time of the peer target database registration in Data Safe.
|
PeerTargetDatabase.Builder |
tlsConfig(TlsConfig tlsConfig) |
public PeerTargetDatabase.Builder displayName(String displayName)
The display name of the peer target database in Data Safe.
displayName
- the value to setpublic PeerTargetDatabase.Builder description(String description)
The description of the peer target database in Data Safe.
description
- the value to setpublic PeerTargetDatabase.Builder key(Integer key)
The secondary key assigned for the peer target database in Data Safe.
key
- the value to setpublic PeerTargetDatabase.Builder dataguardAssociationId(String dataguardAssociationId)
The OCID of the Data Guard Association resource in which the database associated to the peer target database is considered as peer database to the primary database.
dataguardAssociationId
- the value to setpublic PeerTargetDatabase.Builder timeCreated(Date timeCreated)
The date and time of the peer target database registration in Data Safe.
timeCreated
- the value to setpublic PeerTargetDatabase.Builder role(String role)
Role of the database associated to the peer target database.
role
- the value to setpublic PeerTargetDatabase.Builder databaseUniqueName(String databaseUniqueName)
Unique name of the database associated to the peer target database.
databaseUniqueName
- the value to setpublic PeerTargetDatabase.Builder databaseDetails(DatabaseDetails databaseDetails)
public PeerTargetDatabase.Builder tlsConfig(TlsConfig tlsConfig)
public PeerTargetDatabase.Builder lifecycleState(TargetDatabaseLifecycleState lifecycleState)
The current state of the peer target database in Data Safe.
lifecycleState
- the value to setpublic PeerTargetDatabase.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the peer target database in Data Safe.
lifecycleDetails
- the value to setpublic PeerTargetDatabase build()
public PeerTargetDatabase.Builder copy(PeerTargetDatabase model)
Copyright © 2016–2024. All rights reserved.