IpAddress Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.IpAddress

Implements

public final class IpAddress
implements JsonSerializable<IpAddress>

The ip address.

Constructor Summary

Constructor Description
IpAddress()

Creates an instance of IpAddress class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: The address.

static IpAddress fromJson(JsonReader jsonReader)

Reads an instance of IpAddress from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IpAddress withAddress(String address)

Set the address property: The address.

Methods inherited from java.lang.Object

Constructor Details

IpAddress

public IpAddress()

Creates an instance of IpAddress class.

Method Details

address

public String address()

Get the address property: The address.

Returns:

the address value.

fromJson

public static IpAddress fromJson(JsonReader jsonReader)

Reads an instance of IpAddress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IpAddress 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 IpAddress.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAddress

public IpAddress withAddress(String address)

Set the address property: The address.

Parameters:

address - the address value to set.

Returns:

the IpAddress object itself.

Applies to