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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
compartmentId
public CreateDatastoreDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the Datastore.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
blockVolumeIds
public 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
-
displayName
public 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
-
datastoreClusterId
public CreateDatastoreDetails.Builder datastoreClusterId(String datastoreClusterId)
The OCID of the datastore cluster that Datastore belongs to.- Parameters:
datastoreClusterId- the value to set- Returns:
- this builder
-
availabilityDomain
public CreateDatastoreDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain to create the Datastore in.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
build
public CreateDatastoreDetails build()
-
copy
public CreateDatastoreDetails.Builder copy(CreateDatastoreDetails model)
-
-