Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.compute; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.azure.ProxyResource;
The Update Resource model definition.
/** * The Update Resource model definition. */
public class UpdateResourceDefinition extends ProxyResource {
Resource tags.
/** * Resource tags. */
@JsonProperty(value = "tags") private Map<String, String> tags;
Get resource tags.
Returns:the tags value
/** * Get resource tags. * * @return the tags value */
public Map<String, String> tags() { return this.tags; }
Set resource tags.
Params:
  • tags – the tags value to set
Returns:the UpdateResourceDefinition object itself.
/** * Set resource tags. * * @param tags the tags value to set * @return the UpdateResourceDefinition object itself. */
public UpdateResourceDefinition withTags(Map<String, String> tags) { this.tags = tags; return this; } }