Package com.oracle.bmc.desktops.model
Class DesktopPool.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.DesktopPool.Builder
-
- Enclosing class:
- DesktopPool
public static class DesktopPool.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesktopPool.Builder
arePrivilegedUsers(Boolean arePrivilegedUsers)
Indicates whether desktop pool users have administrative privileges on their desktop.DesktopPool.Builder
availabilityDomain(String availabilityDomain)
The availability domain of the desktop pool.DesktopPool.Builder
availabilityPolicy(DesktopAvailabilityPolicy availabilityPolicy)
DesktopPool
build()
DesktopPool.Builder
compartmentId(String compartmentId)
The OCID of the compartment of the desktop pool.DesktopPool.Builder
contactDetails(String contactDetails)
Contact information of the desktop pool administrator.DesktopPool.Builder
copy(DesktopPool model)
DesktopPool.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DesktopPool.Builder
description(String description)
A user friendly description providing additional information about the resource.DesktopPool.Builder
devicePolicy(DesktopDevicePolicy devicePolicy)
DesktopPool.Builder
displayName(String displayName)
A user friendly display name.DesktopPool.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.DesktopPool.Builder
id(String id)
The OCID of the desktop pool.DesktopPool.Builder
image(DesktopImage image)
DesktopPool.Builder
isStorageEnabled(Boolean isStorageEnabled)
Indicates whether storage is enabled for the desktop pool.DesktopPool.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the desktop pool.DesktopPool.Builder
maximumSize(Integer maximumSize)
The maximum number of desktops permitted in the desktop pool.DesktopPool.Builder
networkConfiguration(DesktopNetworkConfiguration networkConfiguration)
DesktopPool.Builder
nsgIds(List<String> nsgIds)
A list of network security groups for the network.DesktopPool.Builder
privateAccessDetails(DesktopPoolPrivateAccessDetails privateAccessDetails)
DesktopPool.Builder
sessionLifecycleActions(DesktopSessionLifecycleActions sessionLifecycleActions)
DesktopPool.Builder
shapeConfig(DesktopPoolShapeConfig shapeConfig)
DesktopPool.Builder
shapeName(String shapeName)
The shape of the desktop pool.DesktopPool.Builder
standbySize(Integer standbySize)
The maximum number of standby desktops available in the desktop pool.DesktopPool.Builder
storageBackupPolicyId(String storageBackupPolicyId)
The backup policy OCID of the storage.DesktopPool.Builder
storageSizeInGBs(Integer storageSizeInGBs)
The size in GBs of the storage for the desktop pool.DesktopPool.Builder
timeCreated(Date timeCreated)
The date and time the resource was created.DesktopPool.Builder
timeStartScheduled(Date timeStartScheduled)
The start time of the desktop pool.DesktopPool.Builder
timeStopScheduled(Date timeStopScheduled)
The stop time of the desktop pool.DesktopPool.Builder
useDedicatedVmHost(DesktopPool.UseDedicatedVmHost useDedicatedVmHost)
Indicates whether the desktop pool uses dedicated virtual machine hosts.
-
-
-
Method Detail
-
id
public DesktopPool.Builder id(String id)
The OCID of the desktop pool.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public DesktopPool.Builder compartmentId(String compartmentId)
The OCID of the compartment of the desktop pool.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public DesktopPool.Builder displayName(String displayName)
A user friendly display name.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public DesktopPool.Builder description(String description)
A user friendly description providing additional information about the resource.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public DesktopPool.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the desktop pool.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public DesktopPool.Builder timeCreated(Date timeCreated)
The date and time the resource was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
maximumSize
public DesktopPool.Builder maximumSize(Integer maximumSize)
The maximum number of desktops permitted in the desktop pool.- Parameters:
maximumSize
- the value to set- Returns:
- this builder
-
standbySize
public DesktopPool.Builder standbySize(Integer standbySize)
The maximum number of standby desktops available in the desktop pool.- Parameters:
standbySize
- the value to set- Returns:
- this builder
-
shapeName
public DesktopPool.Builder shapeName(String shapeName)
The shape of the desktop pool.- Parameters:
shapeName
- the value to set- Returns:
- this builder
-
shapeConfig
public DesktopPool.Builder shapeConfig(DesktopPoolShapeConfig shapeConfig)
-
useDedicatedVmHost
public DesktopPool.Builder useDedicatedVmHost(DesktopPool.UseDedicatedVmHost useDedicatedVmHost)
Indicates whether the desktop pool uses dedicated virtual machine hosts.- Parameters:
useDedicatedVmHost
- the value to set- Returns:
- this builder
-
isStorageEnabled
public DesktopPool.Builder isStorageEnabled(Boolean isStorageEnabled)
Indicates whether storage is enabled for the desktop pool.- Parameters:
isStorageEnabled
- the value to set- Returns:
- this builder
-
storageSizeInGBs
public DesktopPool.Builder storageSizeInGBs(Integer storageSizeInGBs)
The size in GBs of the storage for the desktop pool.- Parameters:
storageSizeInGBs
- the value to set- Returns:
- this builder
-
storageBackupPolicyId
public DesktopPool.Builder storageBackupPolicyId(String storageBackupPolicyId)
The backup policy OCID of the storage.- Parameters:
storageBackupPolicyId
- the value to set- Returns:
- this builder
-
devicePolicy
public DesktopPool.Builder devicePolicy(DesktopDevicePolicy devicePolicy)
-
availabilityPolicy
public DesktopPool.Builder availabilityPolicy(DesktopAvailabilityPolicy availabilityPolicy)
-
image
public DesktopPool.Builder image(DesktopImage image)
-
networkConfiguration
public DesktopPool.Builder networkConfiguration(DesktopNetworkConfiguration networkConfiguration)
-
sessionLifecycleActions
public DesktopPool.Builder sessionLifecycleActions(DesktopSessionLifecycleActions sessionLifecycleActions)
-
timeStartScheduled
public DesktopPool.Builder timeStartScheduled(Date timeStartScheduled)
The start time of the desktop pool.- Parameters:
timeStartScheduled
- the value to set- Returns:
- this builder
-
timeStopScheduled
public DesktopPool.Builder timeStopScheduled(Date timeStopScheduled)
The stop time of the desktop pool.- Parameters:
timeStopScheduled
- the value to set- Returns:
- this builder
-
contactDetails
public DesktopPool.Builder contactDetails(String contactDetails)
Contact information of the desktop pool administrator.Avoid entering confidential information.
- Parameters:
contactDetails
- the value to set- Returns:
- this builder
-
arePrivilegedUsers
public DesktopPool.Builder arePrivilegedUsers(Boolean arePrivilegedUsers)
Indicates whether desktop pool users have administrative privileges on their desktop.- Parameters:
arePrivilegedUsers
- the value to set- Returns:
- this builder
-
availabilityDomain
public DesktopPool.Builder availabilityDomain(String availabilityDomain)
The availability domain of the desktop pool.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
freeformTags
public DesktopPool.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 DesktopPool.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
-
nsgIds
public DesktopPool.Builder nsgIds(List<String> nsgIds)
A list of network security groups for the network.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
privateAccessDetails
public DesktopPool.Builder privateAccessDetails(DesktopPoolPrivateAccessDetails privateAccessDetails)
-
build
public DesktopPool build()
-
copy
public DesktopPool.Builder copy(DesktopPool model)
-
-