Package com.oracle.bmc.ocvp.model
Class Datastore.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocvp.model.Datastore.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Datastore.BuilderavailabilityDomain(String availabilityDomain)The availability domain of the Datastore.Datastore.BuilderblockVolumeDetails(List<BlockVolumeDetails> blockVolumeDetails)The list of Block Volume details that belong to the datastore.Datastore.BuilderblockVolumeIds(List<String> blockVolumeIds)The List of Block volume OCIDs that belong to the Datastore.Datastorebuild()Datastore.BuildercapacityInGBs(Double capacityInGBs)Total size of the datastore in GB.Datastore.BuilderclusterId(String clusterId)The OCID of the VMware Cluster that Datastore is attached to.Datastore.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Datastore.Datastore.Buildercopy(Datastore model)Datastore.BuilderdatastoreClusterId(String datastoreClusterId)The OCID of the datastore cluster that Datastore belongs to.Datastore.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Datastore.BuilderdisplayName(String displayName)A descriptive name for the Datastore.Datastore.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Datastore.Builderid(String id)The OCID of the Datastore.Datastore.BuilderlifecycleState(LifecycleStates lifecycleState)The current state of the Datastore.Datastore.BuildersddcId(String sddcId)The OCID of the SDDC that Datastore is associated with.Datastore.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Datastore.BuildertimeCreated(Date timeCreated)The date and time the Datastore was created, in the format defined by RFC3339.Datastore.BuildertimeUpdated(Date timeUpdated)The date and time the Datastore was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic Datastore.Builder id(String id) The OCID of the Datastore.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
datastoreClusterIdpublic Datastore.Builder datastoreClusterId(String datastoreClusterId) The OCID of the datastore cluster that Datastore belongs to.- Parameters:
- datastoreClusterId- the value to set
- Returns:
- this builder
 
 - 
blockVolumeIdspublic Datastore.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
 
 - 
blockVolumeDetailspublic Datastore.Builder blockVolumeDetails(List<BlockVolumeDetails> blockVolumeDetails) The list of Block Volume details that belong to the datastore.- Parameters:
- blockVolumeDetails- the value to set
- Returns:
- this builder
 
 - 
clusterIdpublic Datastore.Builder clusterId(String clusterId) The OCID of the VMware Cluster that Datastore is attached to.- Parameters:
- clusterId- the value to set
- Returns:
- this builder
 
 - 
sddcIdpublic Datastore.Builder sddcId(String sddcId) The OCID of the SDDC that Datastore is associated with.- Parameters:
- sddcId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Datastore.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the Datastore.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Datastore.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
 
 - 
timeCreatedpublic Datastore.Builder timeCreated(Date timeCreated) The date and time the Datastore was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Datastore.Builder timeUpdated(Date timeUpdated) The date and time the Datastore was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Datastore.Builder lifecycleState(LifecycleStates lifecycleState) The current state of the Datastore.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic Datastore.Builder availabilityDomain(String availabilityDomain) The availability domain of the Datastore.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
capacityInGBspublic Datastore.Builder capacityInGBs(Double capacityInGBs) Total size of the datastore in GB.- Parameters:
- capacityInGBs- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Datastore.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 Datastore.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
 
 - 
systemTagspublic Datastore.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Datastore build() 
 - 
copypublic Datastore.Builder copy(Datastore model) 
 
- 
 
-