AddressPrefixItem Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AddressPrefixItem
- com.
Implements
public final class AddressPrefixItem
implements JsonSerializable<AddressPrefixItem>
Address prefix item.
Constructor Summary
Constructor | Description |
---|---|
AddressPrefixItem() |
Creates an instance of Address |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
addressPrefix()
Get the address |
Address |
addressPrefixType()
Get the address |
static
Address |
fromJson(JsonReader jsonReader)
Reads an instance of Address |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Address |
withAddressPrefix(String addressPrefix)
Set the address |
Address |
withAddressPrefixType(AddressPrefixType addressPrefixType)
Set the address |
Methods inherited from java.lang.Object
Constructor Details
AddressPrefixItem
public AddressPrefixItem()
Creates an instance of AddressPrefixItem class.
Method Details
addressPrefix
public String addressPrefix()
Get the addressPrefix property: Address prefix.
Returns:
addressPrefixType
public AddressPrefixType addressPrefixType()
Get the addressPrefixType property: Address prefix type.
Returns:
fromJson
public static AddressPrefixItem fromJson(JsonReader jsonReader)
Reads an instance of AddressPrefixItem from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAddressPrefix
public AddressPrefixItem withAddressPrefix(String addressPrefix)
Set the addressPrefix property: Address prefix.
Parameters:
Returns:
withAddressPrefixType
public AddressPrefixItem withAddressPrefixType(AddressPrefixType addressPrefixType)
Set the addressPrefixType property: Address prefix type.
Parameters:
Returns:
Applies to
Azure SDK for Java