azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

174 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.Criterion"
fullName: "com.azure.resourcemanager.network.models.Criterion"
name: "Criterion"
nameWithType: "Criterion"
summary: "A matching criteria which matches routes based on route prefix, community, and AS path."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **Criterion**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.Criterion?alt=com.azure.resourcemanager.network.models.Criterion&text=Criterion\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.Criterion.Criterion()"
fullName: "com.azure.resourcemanager.network.models.Criterion.Criterion()"
name: "Criterion()"
nameWithType: "Criterion.Criterion()"
summary: "Creates an instance of Criterion class."
syntax: "public Criterion()"
desc: "Creates an instance of Criterion class."
methods:
- uid: "com.azure.resourcemanager.network.models.Criterion.asPath()"
fullName: "com.azure.resourcemanager.network.models.Criterion.asPath()"
name: "asPath()"
nameWithType: "Criterion.asPath()"
summary: "Get the as<wbr>Path property: List of AS paths which this criteria matches."
syntax: "public List<String> asPath()"
desc: "Get the asPath property: List of AS paths which this criteria matches."
returns:
description: "the asPath value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.Criterion.community()"
fullName: "com.azure.resourcemanager.network.models.Criterion.community()"
name: "community()"
nameWithType: "Criterion.community()"
summary: "Get the community property: List of BGP communities which this criteria matches."
syntax: "public List<String> community()"
desc: "Get the community property: List of BGP communities which this criteria matches."
returns:
description: "the community value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.Criterion.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.Criterion.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Criterion.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Criterion from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Criterion fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Criterion."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Criterion from the JsonReader."
returns:
description: "An instance of Criterion if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.Criterion?alt=com.azure.resourcemanager.network.models.Criterion&text=Criterion\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Criterion.matchCondition()"
fullName: "com.azure.resourcemanager.network.models.Criterion.matchCondition()"
name: "matchCondition()"
nameWithType: "Criterion.matchCondition()"
summary: "Get the match<wbr>Condition property: Match condition to apply Route<wbr>Map rules."
syntax: "public RouteMapMatchCondition matchCondition()"
desc: "Get the matchCondition property: Match condition to apply RouteMap rules."
returns:
description: "the matchCondition value."
type: "<xref href=\"com.azure.resourcemanager.network.models.RouteMapMatchCondition?alt=com.azure.resourcemanager.network.models.RouteMapMatchCondition&text=RouteMapMatchCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Criterion.routePrefix()"
fullName: "com.azure.resourcemanager.network.models.Criterion.routePrefix()"
name: "routePrefix()"
nameWithType: "Criterion.routePrefix()"
summary: "Get the route<wbr>Prefix property: List of route prefixes which this criteria matches."
syntax: "public List<String> routePrefix()"
desc: "Get the routePrefix property: List of route prefixes which this criteria matches."
returns:
description: "the routePrefix value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.Criterion.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.Criterion.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Criterion.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Criterion.validate()"
fullName: "com.azure.resourcemanager.network.models.Criterion.validate()"
name: "validate()"
nameWithType: "Criterion.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.Criterion.withAsPath(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.Criterion.withAsPath(List<String> asPath)"
name: "withAsPath(List<String> asPath)"
nameWithType: "Criterion.withAsPath(List<String> asPath)"
summary: "Set the as<wbr>Path property: List of AS paths which this criteria matches."
parameters:
- description: "the asPath value to set."
name: "asPath"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public Criterion withAsPath(List<String> asPath)"
desc: "Set the asPath property: List of AS paths which this criteria matches."
returns:
description: "the Criterion object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.Criterion?alt=com.azure.resourcemanager.network.models.Criterion&text=Criterion\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Criterion.withCommunity(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.Criterion.withCommunity(List<String> community)"
name: "withCommunity(List<String> community)"
nameWithType: "Criterion.withCommunity(List<String> community)"
summary: "Set the community property: List of BGP communities which this criteria matches."
parameters:
- description: "the community value to set."
name: "community"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public Criterion withCommunity(List<String> community)"
desc: "Set the community property: List of BGP communities which this criteria matches."
returns:
description: "the Criterion object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.Criterion?alt=com.azure.resourcemanager.network.models.Criterion&text=Criterion\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Criterion.withMatchCondition(com.azure.resourcemanager.network.models.RouteMapMatchCondition)"
fullName: "com.azure.resourcemanager.network.models.Criterion.withMatchCondition(RouteMapMatchCondition matchCondition)"
name: "withMatchCondition(RouteMapMatchCondition matchCondition)"
nameWithType: "Criterion.withMatchCondition(RouteMapMatchCondition matchCondition)"
summary: "Set the match<wbr>Condition property: Match condition to apply Route<wbr>Map rules."
parameters:
- description: "the matchCondition value to set."
name: "matchCondition"
type: "<xref href=\"com.azure.resourcemanager.network.models.RouteMapMatchCondition?alt=com.azure.resourcemanager.network.models.RouteMapMatchCondition&text=RouteMapMatchCondition\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Criterion withMatchCondition(RouteMapMatchCondition matchCondition)"
desc: "Set the matchCondition property: Match condition to apply RouteMap rules."
returns:
description: "the Criterion object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.Criterion?alt=com.azure.resourcemanager.network.models.Criterion&text=Criterion\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Criterion.withRoutePrefix(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.Criterion.withRoutePrefix(List<String> routePrefix)"
name: "withRoutePrefix(List<String> routePrefix)"
nameWithType: "Criterion.withRoutePrefix(List<String> routePrefix)"
summary: "Set the route<wbr>Prefix property: List of route prefixes which this criteria matches."
parameters:
- description: "the routePrefix value to set."
name: "routePrefix"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public Criterion withRoutePrefix(List<String> routePrefix)"
desc: "Set the routePrefix property: List of route prefixes which this criteria matches."
returns:
description: "the Criterion object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.Criterion?alt=com.azure.resourcemanager.network.models.Criterion&text=Criterion\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A matching criteria which matches routes based on route prefix, community, and AS path."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.Criterion?alt=com.azure.resourcemanager.network.models.Criterion&text=Criterion\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0