Class ResourceReference

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

public final class ResourceReference extends Object
The resource reference.
  • Constructor Details

    • ResourceReference

      public ResourceReference()
  • Method Details

    • id

      public String id()
      Get the id property: The resource id.
      Returns:
      the id value.
    • withId

      public ResourceReference withId(String id)
      Set the id property: The resource id.
      Parameters:
      id - the id value to set.
      Returns:
      the ResourceReference object itself.
    • name

      public String name()
      Get the name property: Gets the resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Gets the resource type.
      Returns:
      the type value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.