public final class ResourceGroupPatchable extends Object
| Constructor and Description |
|---|
ResourceGroupPatchable() |
| Modifier and Type | Method and Description |
|---|---|
String |
managedBy()
Get the managedBy property: The ID of the resource that manages this resource group.
|
String |
name()
Get the name property: The name of the resource group.
|
ResourceGroupProperties |
properties()
Get the properties property: The resource group properties.
|
Map<String,String> |
tags()
Get the tags property: The tags attached to the resource group.
|
void |
validate()
Validates the instance.
|
ResourceGroupPatchable |
withManagedBy(String managedBy)
Set the managedBy property: The ID of the resource that manages this resource group.
|
ResourceGroupPatchable |
withName(String name)
Set the name property: The name of the resource group.
|
ResourceGroupPatchable |
withProperties(ResourceGroupProperties properties)
Set the properties property: The resource group properties.
|
ResourceGroupPatchable |
withTags(Map<String,String> tags)
Set the tags property: The tags attached to the resource group.
|
public String name()
public ResourceGroupPatchable withName(String name)
name - the name value to set.public ResourceGroupProperties properties()
public ResourceGroupPatchable withProperties(ResourceGroupProperties properties)
properties - the properties value to set.public String managedBy()
public ResourceGroupPatchable withManagedBy(String managedBy)
managedBy - the managedBy value to set.public Map<String,String> tags()
public ResourceGroupPatchable withTags(Map<String,String> tags)
tags - the tags value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.