java.lang.Object
com.azure.resourcemanager.servicenetworking.models.ResourceId

public final class ResourceId extends Object
Resource ID definition used by parent to reference child resources.
  • Constructor Details

    • ResourceId

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

    • id

      public String id()
      Get the id property: Resource ID of child resource.
      Returns:
      the id value.
    • withId

      public ResourceId withId(String id)
      Set the id property: Resource ID of child resource.
      Parameters:
      id - the id value to set.
      Returns:
      the ResourceId object itself.
    • validate

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