AddressPrefixSetPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AddressPrefixSetPropertiesFormat
- com.
Implements
public final class AddressPrefixSetPropertiesFormat
implements JsonSerializable<AddressPrefixSetPropertiesFormat>
Properties of address prefix set.
Constructor Summary
| Constructor | Description |
|---|---|
| AddressPrefixSetPropertiesFormat() |
Creates an instance of Address |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
addressPrefixes()
Get the address |
|
static
Address |
fromJson(JsonReader jsonReader)
Reads an instance of Address |
|
Common |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Address |
withAddressPrefixes(List<String> addressPrefixes)
Set the address |
Methods inherited from java.lang.Object
Constructor Details
AddressPrefixSetPropertiesFormat
public AddressPrefixSetPropertiesFormat()
Creates an instance of AddressPrefixSetPropertiesFormat class.
Method Details
addressPrefixes
public List<String> addressPrefixes()
Get the addressPrefixes property: The list of address prefixes in CIDR notation. Supports both IPv4 and IPv6 CIDR notation (e.g. '10.0.0.0/16', '2001:db8::/32').
Returns:
fromJson
public static AddressPrefixSetPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of AddressPrefixSetPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the address prefix set resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAddressPrefixes
public AddressPrefixSetPropertiesFormat withAddressPrefixes(List<String> addressPrefixes)
Set the addressPrefixes property: The list of address prefixes in CIDR notation. Supports both IPv4 and IPv6 CIDR notation (e.g. '10.0.0.0/16', '2001:db8::/32').
Parameters:
Returns: