Class ActivatedResourceReference
java.lang.Object
com.azure.resourcemanager.cdn.models.ActivatedResourceReference
Reference to another resource along with its state.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ActivatedResourceReference class. -
Method Summary
-
Constructor Details
-
ActivatedResourceReference
public ActivatedResourceReference()Creates an instance of ActivatedResourceReference class.
-
-
Method Details
-
id
Get the id property: Resource ID.- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ActivatedResourceReference object itself.
-
isActive
Get the isActive property: Whether the resource is active or inactive.- Returns:
- the isActive value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-