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 Desktop
build()
Desktop.Builder
copy(Desktop model)
Desktop.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Desktop.Builder
devicePolicy(DesktopDevicePolicy devicePolicy)
Desktop.Builder
displayName(String displayName)
A user friendly display name.Desktop.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Desktop.Builder
hostingOptions(HostingOptions hostingOptions)
Desktop.Builder
id(String id)
The OCID of the desktop.Desktop.Builder
lifecycleState(LifecycleState lifecycleState)
The state of the desktop.Desktop.Builder
poolId(String poolId)
The OCID of the desktop pool the desktop is a member of.Desktop.Builder
timeCreated(Date timeCreated)
The date and time the resource was created.Desktop.Builder
userName(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)
-
-