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.batchai; import com.fasterxml.jackson.annotation.JsonProperty;
Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.
/** * Represents a resource ID. For example, for a subnet, it is the resource URL * for the subnet. */
public class ResourceId {
The ID of the resource.
/** * The ID of the resource. */
@JsonProperty(value = "id", required = true) private String id;
Get the ID of the resource.
Returns:the id value
/** * Get the ID of the resource. * * @return the id value */
public String id() { return this.id; }
Set the ID of the resource.
Params:
  • id – the id value to set
Returns:the ResourceId object itself.
/** * Set the ID of the resource. * * @param id the id value to set * @return the ResourceId object itself. */
public ResourceId withId(String id) { this.id = id; return this; } }