IpAddressAvailabilityResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. IpAddressAvailabilityResultInner
- com.
Implements
public final class IpAddressAvailabilityResultInner
implements JsonSerializable<IpAddressAvailabilityResultInner>
Response for CheckIPAddressAvailability API service call.
Constructor Summary
Constructor | Description |
---|---|
IpAddressAvailabilityResultInner() |
Creates an instance of Ip |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
available()
Get the available property: Private IP address availability. |
List<String> |
availableIpAddresses()
Get the available |
static
Ip |
fromJson(JsonReader jsonReader)
Reads an instance of Ip |
Boolean |
isPlatformReserved()
Get the is |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ip |
withAvailable(Boolean available)
Set the available property: Private IP address availability. |
Ip |
withAvailableIpAddresses(List<String> availableIpAddresses)
Set the available |
Ip |
withIsPlatformReserved(Boolean isPlatformReserved)
Set the is |
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:
availableIpAddresses
public List
Get the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.
Returns:
fromJson
public static IpAddressAvailabilityResultInner fromJson(JsonReader jsonReader)
Reads an instance of IpAddressAvailabilityResultInner from the JsonReader.
Parameters:
Returns:
Throws:
isPlatformReserved
public Boolean isPlatformReserved()
Get the isPlatformReserved property: Private IP address platform reserved.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAvailable
public IpAddressAvailabilityResultInner withAvailable(Boolean available)
Set the available property: Private IP address availability.
Parameters:
Returns:
withAvailableIpAddresses
public IpAddressAvailabilityResultInner withAvailableIpAddresses(List
Set the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.
Parameters:
Returns:
withIsPlatformReserved
public IpAddressAvailabilityResultInner withIsPlatformReserved(Boolean isPlatformReserved)
Set the isPlatformReserved property: Private IP address platform reserved.
Parameters:
Returns:
Applies to
Azure SDK for Java