Class Parameter

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

public final class Parameter extends Object
Parameters for an Action.
  • Constructor Details

    • Parameter

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

    • routePrefix

      public List<String> routePrefix()
      Get the routePrefix property: List of route prefixes.
      Returns:
      the routePrefix value.
    • withRoutePrefix

      public Parameter withRoutePrefix(List<String> routePrefix)
      Set the routePrefix property: List of route prefixes.
      Parameters:
      routePrefix - the routePrefix value to set.
      Returns:
      the Parameter object itself.
    • community

      public List<String> community()
      Get the community property: List of BGP communities.
      Returns:
      the community value.
    • withCommunity

      public Parameter withCommunity(List<String> community)
      Set the community property: List of BGP communities.
      Parameters:
      community - the community value to set.
      Returns:
      the Parameter object itself.
    • asPath

      public List<String> asPath()
      Get the asPath property: List of AS paths.
      Returns:
      the asPath value.
    • withAsPath

      public Parameter withAsPath(List<String> asPath)
      Set the asPath property: List of AS paths.
      Parameters:
      asPath - the asPath value to set.
      Returns:
      the Parameter object itself.
    • validate

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