java.lang.Object
com.azure.resourcemanager.eventhubs.models.Subnet

public final class Subnet extends Object
Properties supplied for Subnet.
  • Constructor Details

    • Subnet

      public Subnet()
  • Method Details

    • id

      public String id()
      Get the id property: Resource ID of Virtual Network Subnet.
      Returns:
      the id value.
    • withId

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

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