Class ResourceReference

java.lang.Object
com.azure.resourcemanager.webpubsub.models.ResourceReference

public final class ResourceReference extends Object
Reference to a resource.
  • Constructor Details

    • ResourceReference

      public ResourceReference()
      Creates an instance of ResourceReference class.
  • Method Details

    • 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.