Class ActivatedResourceReference
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.ActivatedResourceReference
-
public final class ActivatedResourceReference extends Object
Reference to another resource along with its state.
-
-
Constructor Summary
Constructors Constructor Description ActivatedResourceReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource ID.BooleanisActive()Get the isActive property: Whether the resource is active or inactive.voidvalidate()Validates the instance.ActivatedResourceReferencewithId(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 ActivatedResourceReference withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ActivatedResourceReference object itself.
-
isActive
public Boolean 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.
-
-