Package com.oracle.bmc.ocvp.model
Class CreateDatastoreDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocvp.model.CreateDatastoreDetails.Builder
 
- 
- Enclosing class:
- CreateDatastoreDetails
 
 public static class CreateDatastoreDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDatastoreDetails.BuilderavailabilityDomain(String availabilityDomain)The availability domain to create the Datastore in.CreateDatastoreDetails.BuilderblockVolumeIds(List<String> blockVolumeIds)The List of Block volume OCIDs that belong to the Datastore.CreateDatastoreDetailsbuild()CreateDatastoreDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to contain the Datastore.CreateDatastoreDetails.Buildercopy(CreateDatastoreDetails model)CreateDatastoreDetails.BuilderdatastoreClusterId(String datastoreClusterId)The OCID of the datastore cluster that Datastore belongs to.CreateDatastoreDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDatastoreDetails.BuilderdisplayName(String displayName)A descriptive name for the Datastore.CreateDatastoreDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateDatastoreDetails.Builder compartmentId(String compartmentId) The OCID of the compartment to contain the Datastore.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
blockVolumeIdspublic CreateDatastoreDetails.Builder blockVolumeIds(List<String> blockVolumeIds) The List of Block volume OCIDs that belong to the Datastore.- Parameters:
- blockVolumeIds- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateDatastoreDetails.Builder displayName(String displayName) A descriptive name for the Datastore.It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
datastoreClusterIdpublic CreateDatastoreDetails.Builder datastoreClusterId(String datastoreClusterId) The OCID of the datastore cluster that Datastore belongs to.- Parameters:
- datastoreClusterId- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic CreateDatastoreDetails.Builder availabilityDomain(String availabilityDomain) The availability domain to create the Datastore in.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateDatastoreDetails.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateDatastoreDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateDatastoreDetails build() 
 - 
copypublic CreateDatastoreDetails.Builder copy(CreateDatastoreDetails model) 
 
- 
 
-