StatementConditionPatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. StatementConditionPatchProperties
- com.
Implements
public final class StatementConditionPatchProperties
implements JsonSerializable<StatementConditionPatchProperties>
Route policy statement condition properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StatementConditionPatchProperties() |
Creates an instance of Statement |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Statement |
fromJson(JsonReader jsonReader)
Reads an instance of Statement |
| List<String> |
ipCommunityIds()
Get the ip |
| List<String> |
ipExtendedCommunityIds()
Get the ip |
| String |
ipPrefixId()
Get the ip |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Route |
type()
Get the type property: Type of the condition used. |
|
Statement |
withIpCommunityIds(List<String> ipCommunityIds)
Set the ip |
|
Statement |
withIpExtendedCommunityIds(List<String> ipExtendedCommunityIds)
Set the ip |
|
Statement |
withIpPrefixId(String ipPrefixId)
Set the ip |
|
Statement |
withType(RoutePolicyConditionType type)
Set the type property: Type of the condition used. |
Methods inherited from java.lang.Object
Constructor Details
StatementConditionPatchProperties
public StatementConditionPatchProperties()
Creates an instance of StatementConditionPatchProperties class.
Method Details
fromJson
public static StatementConditionPatchProperties fromJson(JsonReader jsonReader)
Reads an instance of StatementConditionPatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
ipCommunityIds
public List<String> ipCommunityIds()
Get the ipCommunityIds property: List of IP Community resource IDs.
Returns:
ipExtendedCommunityIds
public List<String> ipExtendedCommunityIds()
Get the ipExtendedCommunityIds property: List of IP Extended Community resource IDs.
Returns:
ipPrefixId
public String ipPrefixId()
Get the ipPrefixId property: Arm Resource Id of IpPrefix.
Returns:
toJson
type
public RoutePolicyConditionType type()
Get the type property: Type of the condition used.
Returns:
withIpCommunityIds
public StatementConditionPatchProperties withIpCommunityIds(List<String> ipCommunityIds)
Set the ipCommunityIds property: List of IP Community resource IDs.
Parameters:
Returns:
withIpExtendedCommunityIds
public StatementConditionPatchProperties withIpExtendedCommunityIds(List<String> ipExtendedCommunityIds)
Set the ipExtendedCommunityIds property: List of IP Extended Community resource IDs.
Parameters:
Returns:
withIpPrefixId
public StatementConditionPatchProperties withIpPrefixId(String ipPrefixId)
Set the ipPrefixId property: Arm Resource Id of IpPrefix.
Parameters:
Returns:
withType
public StatementConditionPatchProperties withType(RoutePolicyConditionType type)
Set the type property: Type of the condition used.
Parameters:
Returns: