Class ResourceId
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceId
-
public final class ResourceId extends Object
Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.
-
-
Constructor Summary
Constructors Constructor Description ResourceId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: The ID of the resource.void
validate()
Validates the instance.ResourceId
withId(String id)
Set the id property: The ID of the resource.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The ID of the resource.- Returns:
- the id value.
-
withId
public ResourceId withId(String id)
Set the id property: The ID of the resource.- Parameters:
id
- the id value to set.- Returns:
- the ResourceId object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-