ResourceId Class
- java.
lang. Object - com.
microsoft. azure. management. batchai. ResourceId
- com.
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. |
Resource |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java