Parameter Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. Parameter
- com.
Implements
public final class Parameter
implements JsonSerializable<Parameter>
Parameters for an Action.
Constructor Summary
Constructor | Description |
---|---|
Parameter() |
Creates an instance of Parameter class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
asPath()
Get the as |
List<String> |
community()
Get the community property: List of BGP communities. |
static Parameter |
fromJson(JsonReader jsonReader)
Reads an instance of Parameter from the Json |
List<String> |
routePrefix()
Get the route |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Parameter |
withAsPath(List<String> asPath)
Set the as |
Parameter |
withCommunity(List<String> community)
Set the community property: List of BGP communities. |
Parameter |
withRoutePrefix(List<String> routePrefix)
Set the route |
Methods inherited from java.lang.Object
Constructor Details
Parameter
public Parameter()
Creates an instance of Parameter class.
Method Details
asPath
public List
Get the asPath property: List of AS paths.
Returns:
community
public List
Get the community property: List of BGP communities.
Returns:
fromJson
public static Parameter fromJson(JsonReader jsonReader)
Reads an instance of Parameter from the JsonReader.
Parameters:
Returns:
Throws:
routePrefix
public List
Get the routePrefix property: List of route prefixes.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAsPath
public Parameter withAsPath(List
Set the asPath property: List of AS paths.
Parameters:
Returns:
withCommunity
public Parameter withCommunity(List
Set the community property: List of BGP communities.
Parameters:
Returns:
withRoutePrefix
public Parameter withRoutePrefix(List
Set the routePrefix property: List of route prefixes.
Parameters:
Returns:
Applies to
Azure SDK for Java