Class ResourceGroupPatchable
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.ResourceGroupPatchable
-
public final class ResourceGroupPatchable extends Object
Resource group information.
-
-
Constructor Summary
Constructors Constructor Description ResourceGroupPatchable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmanagedBy()Get the managedBy property: The ID of the resource that manages this resource group.Stringname()Get the name property: The name of the resource group.ResourceGroupPropertiesproperties()Get the properties property: The resource group properties.Map<String,String>tags()Get the tags property: The tags attached to the resource group.voidvalidate()Validates the instance.ResourceGroupPatchablewithManagedBy(String managedBy)Set the managedBy property: The ID of the resource that manages this resource group.ResourceGroupPatchablewithName(String name)Set the name property: The name of the resource group.ResourceGroupPatchablewithProperties(ResourceGroupProperties properties)Set the properties property: The resource group properties.ResourceGroupPatchablewithTags(Map<String,String> tags)Set the tags property: The tags attached to the resource group.
-
-
-
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.
-
-