IpAddressAvailabilityResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.IpAddressAvailabilityResultInner

Implements

public final class IpAddressAvailabilityResultInner
implements JsonSerializable<IpAddressAvailabilityResultInner>

Response for CheckIPAddressAvailability API service call.

Constructor Summary

Constructor Description
IpAddressAvailabilityResultInner()

Creates an instance of IpAddressAvailabilityResultInner class.

Method Summary

Modifier and Type Method and Description
Boolean available()

Get the available property: Private IP address availability.

List<String> availableIpAddresses()

Get the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.

static IpAddressAvailabilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of IpAddressAvailabilityResultInner from the JsonReader.

Boolean isPlatformReserved()

Get the isPlatformReserved property: Private IP address platform reserved.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IpAddressAvailabilityResultInner withAvailable(Boolean available)

Set the available property: Private IP address availability.

IpAddressAvailabilityResultInner withAvailableIpAddresses(List<String> availableIpAddresses)

Set the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.

IpAddressAvailabilityResultInner withIsPlatformReserved(Boolean isPlatformReserved)

Set the isPlatformReserved property: Private IP address platform reserved.

Methods inherited from java.lang.Object

Constructor Details

IpAddressAvailabilityResultInner

public IpAddressAvailabilityResultInner()

Creates an instance of IpAddressAvailabilityResultInner class.

Method Details

available

public Boolean available()

Get the available property: Private IP address availability.

Returns:

the available value.

availableIpAddresses

public List availableIpAddresses()

Get the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.

Returns:

the availableIpAddresses value.

fromJson

public static IpAddressAvailabilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of IpAddressAvailabilityResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isPlatformReserved

public Boolean isPlatformReserved()

Get the isPlatformReserved property: Private IP address platform reserved.

Returns:

the isPlatformReserved value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAvailable

public IpAddressAvailabilityResultInner withAvailable(Boolean available)

Set the available property: Private IP address availability.

Parameters:

available - the available value to set.

Returns:

the IpAddressAvailabilityResultInner object itself.

withAvailableIpAddresses

public IpAddressAvailabilityResultInner withAvailableIpAddresses(List availableIpAddresses)

Set the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.

Parameters:

availableIpAddresses - the availableIpAddresses value to set.

Returns:

the IpAddressAvailabilityResultInner object itself.

withIsPlatformReserved

public IpAddressAvailabilityResultInner withIsPlatformReserved(Boolean isPlatformReserved)

Set the isPlatformReserved property: Private IP address platform reserved.

Parameters:

isPlatformReserved - the isPlatformReserved value to set.

Returns:

the IpAddressAvailabilityResultInner object itself.

Applies to