Class AvailableServiceAliasInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.AvailableServiceAliasInner

public final class AvailableServiceAliasInner extends Object
The available service alias.
  • Constructor Details

    • AvailableServiceAliasInner

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

    • name

      public String name()
      Get the name property: The name of the service alias.
      Returns:
      the name value.
    • withName

      public AvailableServiceAliasInner withName(String name)
      Set the name property: The name of the service alias.
      Parameters:
      name - the name value to set.
      Returns:
      the AvailableServiceAliasInner object itself.
    • id

      public String id()
      Get the id property: The ID of the service alias.
      Returns:
      the id value.
    • withId

      public AvailableServiceAliasInner withId(String id)
      Set the id property: The ID of the service alias.
      Parameters:
      id - the id value to set.
      Returns:
      the AvailableServiceAliasInner object itself.
    • type

      public String type()
      Get the type property: The type of the resource.
      Returns:
      the type value.
    • withType

      public AvailableServiceAliasInner withType(String type)
      Set the type property: The type of the resource.
      Parameters:
      type - the type value to set.
      Returns:
      the AvailableServiceAliasInner object itself.
    • resourceName

      public String resourceName()
      Get the resourceName property: The resource name of the service alias.
      Returns:
      the resourceName value.
    • withResourceName

      public AvailableServiceAliasInner withResourceName(String resourceName)
      Set the resourceName property: The resource name of the service alias.
      Parameters:
      resourceName - the resourceName value to set.
      Returns:
      the AvailableServiceAliasInner object itself.
    • validate

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