Class DesktopSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • lifecycleState

        public DesktopSummary.Builder lifecycleState​(LifecycleState lifecycleState)
        The state of the desktop.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public DesktopSummary.Builder timeCreated​(Date timeCreated)
        The date and time the resource was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • displayName

        public DesktopSummary.Builder displayName​(String displayName)
        A user friendly display name.

        Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • userName

        public DesktopSummary.Builder userName​(String userName)
        The owner of the desktop.
        Parameters:
        userName - the value to set
        Returns:
        this builder
      • poolId

        public DesktopSummary.Builder poolId​(String poolId)
        The pool ID of the desktop.
        Parameters:
        poolId - the value to set
        Returns:
        this builder
      • freeformTags

        public DesktopSummary.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 DesktopSummary.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