Class ResourceReference
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.ResourceReference
-
public final class ResourceReference extends Object
Reference to a resource.
-
-
Constructor Summary
Constructors Constructor Description ResourceReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: Resource ID.void
validate()
Validates the instance.ResourceReference
withId(String id)
Set the id property: Resource ID.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource ID.- Returns:
- the id value.
-
withId
public ResourceReference withId(String id)
Set the id property: Resource ID.- Parameters:
id
- the id value to set.- Returns:
- the ResourceReference object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-