Class DesktopPatch


  • public final class DesktopPatch
    extends Object
    Desktop properties that can be patched.
    • Constructor Detail

      • DesktopPatch

        public DesktopPatch()
    • Method Detail

      • tags

        public Map<String,​String> tags()
        Get the tags property: tags to be updated.
        Returns:
        the tags value.
      • withTags

        public DesktopPatch withTags​(Map<String,​String> tags)
        Set the tags property: tags to be updated.
        Parameters:
        tags - the tags value to set.
        Returns:
        the DesktopPatch object itself.
      • description

        public String description()
        Get the description property: Description of Desktop.
        Returns:
        the description value.
      • withDescription

        public DesktopPatch withDescription​(String description)
        Set the description property: Description of Desktop.
        Parameters:
        description - the description value to set.
        Returns:
        the DesktopPatch object itself.
      • friendlyName

        public String friendlyName()
        Get the friendlyName property: Friendly name of Desktop.
        Returns:
        the friendlyName value.
      • withFriendlyName

        public DesktopPatch withFriendlyName​(String friendlyName)
        Set the friendlyName property: Friendly name of Desktop.
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the DesktopPatch object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.