StatementActionPatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. StatementActionPatchProperties
- com.
Implements
public final class StatementActionPatchProperties
implements JsonSerializable<StatementActionPatchProperties>
Route policy action properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StatementActionPatchProperties() |
Creates an instance of Statement |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
StatementActionPatchProperties
public StatementActionPatchProperties()
Creates an instance of StatementActionPatchProperties class.
Method Details
actionType
public RoutePolicyActionType actionType()
Get the actionType property: Action type. Example: Permit | Deny | Continue.
Returns:
fromJson
public static StatementActionPatchProperties fromJson(JsonReader jsonReader)
Reads an instance of StatementActionPatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
ipCommunityProperties
public ActionIpCommunityPatchProperties ipCommunityProperties()
Get the ipCommunityProperties property: IP Community Properties.
Returns:
ipExtendedCommunityProperties
public ActionIpExtendedCommunityPatchProperties ipExtendedCommunityProperties()
Get the ipExtendedCommunityProperties property: IP Extended Community Properties.
Returns:
localPreference
public Long localPreference()
Get the localPreference property: Local Preference of the route policy.
Returns:
toJson
withActionType
public StatementActionPatchProperties withActionType(RoutePolicyActionType actionType)
Set the actionType property: Action type. Example: Permit | Deny | Continue.
Parameters:
Returns:
withIpCommunityProperties
public StatementActionPatchProperties withIpCommunityProperties(ActionIpCommunityPatchProperties ipCommunityProperties)
Set the ipCommunityProperties property: IP Community Properties.
Parameters:
Returns:
withIpExtendedCommunityProperties
public StatementActionPatchProperties withIpExtendedCommunityProperties(ActionIpExtendedCommunityPatchProperties ipExtendedCommunityProperties)
Set the ipExtendedCommunityProperties property: IP Extended Community Properties.
Parameters:
Returns:
withLocalPreference
public StatementActionPatchProperties withLocalPreference(Long localPreference)
Set the localPreference property: Local Preference of the route policy.
Parameters:
Returns: