Class DesktopPool.Builder

  • Enclosing class:
    DesktopPool

    public static class DesktopPool.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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