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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
compartmentIdpublic 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
 
 - 
targetDatabaseIdpublic PeerTargetDatabaseCollection.Builder targetDatabaseId(String targetDatabaseId) The OCID of the Data Safe target database.- Parameters:
- targetDatabaseId- the value to set
- Returns:
- this builder
 
 - 
itemspublic 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
 
 - 
buildpublic PeerTargetDatabaseCollection build() 
 - 
copypublic PeerTargetDatabaseCollection.Builder copy(PeerTargetDatabaseCollection model) 
 
- 
 
-