IpPrefixPatch Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. TagsUpdate - com.
azure. resourcemanager. managednetworkfabric. models. IpPrefixPatch
- com.
- com.
public final class IpPrefixPatch
extends TagsUpdate
The IP Prefix patch resource definition.
Constructor Summary
| Constructor | Description |
|---|---|
| IpPrefixPatch() |
Creates an instance of Ip |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
annotation()
Get the annotation property: Switch configuration description. |
|
static
Ip |
fromJson(JsonReader jsonReader)
Reads an instance of Ip |
|
List<Ip |
ipPrefixRules()
Get the ip |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Ip |
withAnnotation(String annotation)
Set the annotation property: Switch configuration description. |
|
Ip |
withIpPrefixRules(List<IpPrefixRule> ipPrefixRules)
Set the ip |
|
Ip |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from TagsUpdate
Methods inherited from java.lang.Object
Constructor Details
IpPrefixPatch
public IpPrefixPatch()
Creates an instance of IpPrefixPatch class.
Method Details
annotation
public String annotation()
Get the annotation property: Switch configuration description.
Returns:
fromJson
public static IpPrefixPatch fromJson(JsonReader jsonReader)
Reads an instance of IpPrefixPatch from the JsonReader.
Parameters:
Returns:
Throws:
ipPrefixRules
public List<IpPrefixRule> ipPrefixRules()
Get the ipPrefixRules property: The list of IP Prefix Rules.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
IpPrefixPatch.toJson(JsonWriter jsonWriter)Parameters:
Throws:
withAnnotation
public IpPrefixPatch withAnnotation(String annotation)
Set the annotation property: Switch configuration description.
Parameters:
Returns:
withIpPrefixRules
public IpPrefixPatch withIpPrefixRules(List<IpPrefixRule> ipPrefixRules)
Set the ipPrefixRules property: The list of IP Prefix Rules.
Parameters:
Returns:
withTags
public IpPrefixPatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
IpPrefixPatch.withTags(Map<String,String> tags)Parameters: