ResourceId Class

  • java.lang.Object
    • com.microsoft.azure.management.batchai.ResourceId

public class ResourceId

Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.

Method Summary

Modifier and Type Method and Description
String id()

Get the ID of the resource.

ResourceId withId(String id)

Set the ID of the resource.

Method Details

id

public String id()

Get the ID of the resource.

Returns:

the id value

withId

public ResourceId withId(String id)

Set the ID of the resource.

Parameters:

id - the id value to set

Returns:

the ResourceId object itself.

Applies to