Class ResourceReference
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.ResourceReference
-
public final class ResourceReference extends Object
Reference to another resource.
-
-
Constructor Summary
Constructors Constructor Description ResourceReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource ID.voidvalidate()Validates the instance.ResourceReferencewithId(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.
-
-