Class ResourceGroupPatchable


  • public final class ResourceGroupPatchable
    extends Object
    Resource group information.
    • Constructor Detail

      • ResourceGroupPatchable

        public ResourceGroupPatchable()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the resource group.
        Returns:
        the name value.
      • withName

        public ResourceGroupPatchable withName​(String name)
        Set the name property: The name of the resource group.
        Parameters:
        name - the name value to set.
        Returns:
        the ResourceGroupPatchable object itself.
      • properties

        public ResourceGroupProperties properties()
        Get the properties property: The resource group properties.
        Returns:
        the properties value.
      • withProperties

        public ResourceGroupPatchable withProperties​(ResourceGroupProperties properties)
        Set the properties property: The resource group properties.
        Parameters:
        properties - the properties value to set.
        Returns:
        the ResourceGroupPatchable object itself.
      • managedBy

        public String managedBy()
        Get the managedBy property: The ID of the resource that manages this resource group.
        Returns:
        the managedBy value.
      • withManagedBy

        public ResourceGroupPatchable withManagedBy​(String managedBy)
        Set the managedBy property: The ID of the resource that manages this resource group.
        Parameters:
        managedBy - the managedBy value to set.
        Returns:
        the ResourceGroupPatchable object itself.
      • tags

        public Map<String,​String> tags()
        Get the tags property: The tags attached to the resource group.
        Returns:
        the tags value.
      • withTags

        public ResourceGroupPatchable withTags​(Map<String,​String> tags)
        Set the tags property: The tags attached to the resource group.
        Parameters:
        tags - the tags value to set.
        Returns:
        the ResourceGroupPatchable object itself.
      • validate

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