Package com.oracle.bmc.desktops.model
Class Desktop.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.Desktop.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public Desktop.Builder id(String id)
The OCID of the desktop.- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleState
public Desktop.Builder lifecycleState(LifecycleState lifecycleState)
The state of the desktop.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public Desktop.Builder timeCreated(Date timeCreated)
The date and time the resource was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
displayName
public Desktop.Builder displayName(String displayName)
A user friendly display name.Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
devicePolicy
public Desktop.Builder devicePolicy(DesktopDevicePolicy devicePolicy)
-
hostingOptions
public Desktop.Builder hostingOptions(HostingOptions hostingOptions)
-
userName
public Desktop.Builder userName(String userName)
The owner of the desktop.- Parameters:
userName- the value to set- Returns:
- this builder
-
poolId
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
build
public Desktop build()
-
copy
public Desktop.Builder copy(Desktop model)
-
-