java.lang.Object
com.azure.resourcemanager.network.models.Hub

public final class Hub extends Object
Hub Item.
  • Constructor Details

    • Hub

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

    • resourceId

      public String resourceId()
      Get the resourceId property: Resource Id.
      Returns:
      the resourceId value.
    • withResourceId

      public Hub withResourceId(String resourceId)
      Set the resourceId property: Resource Id.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the Hub object itself.
    • resourceType

      public String resourceType()
      Get the resourceType property: Resource Type.
      Returns:
      the resourceType value.
    • withResourceType

      public Hub withResourceType(String resourceType)
      Set the resourceType property: Resource Type.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the Hub object itself.
    • validate

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