StatementConditionPatchProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.managednetworkfabric.models.StatementConditionPatchProperties

Implements

public final class StatementConditionPatchProperties
implements JsonSerializable<StatementConditionPatchProperties>

Route policy statement condition properties.

Constructor Summary

Constructor Description
StatementConditionPatchProperties()

Creates an instance of StatementConditionPatchProperties class.

Method Summary

Modifier and Type Method and Description
static StatementConditionPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of StatementConditionPatchProperties from the JsonReader.

List<String> ipCommunityIds()

Get the ipCommunityIds property: List of IP Community resource IDs.

List<String> ipExtendedCommunityIds()

Get the ipExtendedCommunityIds property: List of IP Extended Community resource IDs.

String ipPrefixId()

Get the ipPrefixId property: Arm Resource Id of IpPrefix.

JsonWriter toJson(JsonWriter jsonWriter)
RoutePolicyConditionType type()

Get the type property: Type of the condition used.

StatementConditionPatchProperties withIpCommunityIds(List<String> ipCommunityIds)

Set the ipCommunityIds property: List of IP Community resource IDs.

StatementConditionPatchProperties withIpExtendedCommunityIds(List<String> ipExtendedCommunityIds)

Set the ipExtendedCommunityIds property: List of IP Extended Community resource IDs.

StatementConditionPatchProperties withIpPrefixId(String ipPrefixId)

Set the ipPrefixId property: Arm Resource Id of IpPrefix.

StatementConditionPatchProperties 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:

jsonReader - The JsonReader being read.

Returns:

An instance of StatementConditionPatchProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StatementConditionPatchProperties.

ipCommunityIds

public List<String> ipCommunityIds()

Get the ipCommunityIds property: List of IP Community resource IDs.

Returns:

the ipCommunityIds value.

ipExtendedCommunityIds

public List<String> ipExtendedCommunityIds()

Get the ipExtendedCommunityIds property: List of IP Extended Community resource IDs.

Returns:

the ipExtendedCommunityIds value.

ipPrefixId

public String ipPrefixId()

Get the ipPrefixId property: Arm Resource Id of IpPrefix.

Returns:

the ipPrefixId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public RoutePolicyConditionType type()

Get the type property: Type of the condition used.

Returns:

the type value.

withIpCommunityIds

public StatementConditionPatchProperties withIpCommunityIds(List<String> ipCommunityIds)

Set the ipCommunityIds property: List of IP Community resource IDs.

Parameters:

ipCommunityIds - the ipCommunityIds value to set.

Returns:

the StatementConditionPatchProperties object itself.

withIpExtendedCommunityIds

public StatementConditionPatchProperties withIpExtendedCommunityIds(List<String> ipExtendedCommunityIds)

Set the ipExtendedCommunityIds property: List of IP Extended Community resource IDs.

Parameters:

ipExtendedCommunityIds - the ipExtendedCommunityIds value to set.

Returns:

the StatementConditionPatchProperties object itself.

withIpPrefixId

public StatementConditionPatchProperties withIpPrefixId(String ipPrefixId)

Set the ipPrefixId property: Arm Resource Id of IpPrefix.

Parameters:

ipPrefixId - the ipPrefixId value to set.

Returns:

the StatementConditionPatchProperties object itself.

withType

public StatementConditionPatchProperties withType(RoutePolicyConditionType type)

Set the type property: Type of the condition used.

Parameters:

type - the type value to set.

Returns:

the StatementConditionPatchProperties object itself.

Applies to