Package com.oracle.bmc.datasafe.model
Class PeerTargetDatabaseCollection.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.PeerTargetDatabaseCollection.Builder
-
- Enclosing class:
- PeerTargetDatabaseCollection
public static class PeerTargetDatabaseCollection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PeerTargetDatabaseCollectionbuild()PeerTargetDatabaseCollection.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the primary target database.PeerTargetDatabaseCollection.Buildercopy(PeerTargetDatabaseCollection model)PeerTargetDatabaseCollection.Builderitems(List<PeerTargetDatabaseSummary> items)The list of peer target databases associated to the primary target database.PeerTargetDatabaseCollection.BuildertargetDatabaseId(String targetDatabaseId)The OCID of the Data Safe target database.
-
-
-
Method Detail
-
compartmentId
public PeerTargetDatabaseCollection.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the primary target database.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
targetDatabaseId
public PeerTargetDatabaseCollection.Builder targetDatabaseId(String targetDatabaseId)
The OCID of the Data Safe target database.- Parameters:
targetDatabaseId- the value to set- Returns:
- this builder
-
items
public PeerTargetDatabaseCollection.Builder items(List<PeerTargetDatabaseSummary> items)
The list of peer target databases associated to the primary target database.- Parameters:
items- the value to set- Returns:
- this builder
-
build
public PeerTargetDatabaseCollection build()
-
copy
public PeerTargetDatabaseCollection.Builder copy(PeerTargetDatabaseCollection model)
-
-