Package com.oracle.bmc.desktops.model
Class Desktop.Builder
- java.lang.Object
- 
- com.oracle.bmc.desktops.model.Desktop.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Desktopbuild()Desktop.Buildercopy(Desktop model)Desktop.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Desktop.BuilderdevicePolicy(DesktopDevicePolicy devicePolicy)Desktop.BuilderdisplayName(String displayName)A user friendly display name.Desktop.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Desktop.BuilderhostingOptions(HostingOptions hostingOptions)Desktop.Builderid(String id)The OCID of the desktop.Desktop.BuilderlifecycleState(LifecycleState lifecycleState)The state of the desktop.Desktop.BuilderpoolId(String poolId)The OCID of the desktop pool the desktop is a member of.Desktop.BuildertimeCreated(Date timeCreated)The date and time the resource was created.Desktop.BuilderuserName(String userName)The owner of the desktop.
 
- 
- 
- 
Method Detail- 
idpublic Desktop.Builder id(String id) The OCID of the desktop.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Desktop.Builder lifecycleState(LifecycleState lifecycleState) The state of the desktop.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Desktop.Builder timeCreated(Date timeCreated) The date and time the resource was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Desktop.Builder displayName(String displayName) A user friendly display name.Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
devicePolicypublic Desktop.Builder devicePolicy(DesktopDevicePolicy devicePolicy) 
 - 
hostingOptionspublic Desktop.Builder hostingOptions(HostingOptions hostingOptions) 
 - 
userNamepublic Desktop.Builder userName(String userName) The owner of the desktop.- Parameters:
- userName- the value to set
- Returns:
- this builder
 
 - 
poolIdpublic Desktop.Builder poolId(String poolId) The OCID of the desktop pool the desktop is a member of.- Parameters:
- poolId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Desktop.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 Desktop.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 Desktop build() 
 - 
copypublic Desktop.Builder copy(Desktop model) 
 
- 
 
-