Class ExternalSubnet

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ExternalSubnet

public final class ExternalSubnet extends Object
Subnet information as returned by the Microsoft.Network API.
  • Constructor Details

    • ExternalSubnet

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

    • id

      public String id()
      Get the id property: Gets or sets the identifier.
      Returns:
      the id value.
    • withId

      public ExternalSubnet withId(String id)
      Set the id property: Gets or sets the identifier.
      Parameters:
      id - the id value to set.
      Returns:
      the ExternalSubnet object itself.
    • name

      public String name()
      Get the name property: Gets or sets the name.
      Returns:
      the name value.
    • withName

      public ExternalSubnet withName(String name)
      Set the name property: Gets or sets the name.
      Parameters:
      name - the name value to set.
      Returns:
      the ExternalSubnet object itself.
    • validate

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