Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.implementation;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Response for CheckIPAddressAvailability API service call.
/**
* Response for CheckIPAddressAvailability API service call.
*/
public class IPAddressAvailabilityResultInner {
Private IP address availability.
/**
* Private IP address availability.
*/
@JsonProperty(value = "available")
private Boolean available;
Contains other available private IP addresses if the asked for address
is taken.
/**
* Contains other available private IP addresses if the asked for address
* is taken.
*/
@JsonProperty(value = "availableIPAddresses")
private List<String> availableIPAddresses;
Get private IP address availability.
Returns: the available value
/**
* Get private IP address availability.
*
* @return the available value
*/
public Boolean available() {
return this.available;
}
Set private IP address availability.
Params: - available – the available value to set
Returns: the IPAddressAvailabilityResultInner object itself.
/**
* Set private IP address availability.
*
* @param available the available value to set
* @return the IPAddressAvailabilityResultInner object itself.
*/
public IPAddressAvailabilityResultInner withAvailable(Boolean available) {
this.available = available;
return this;
}
Get contains other available private IP addresses if the asked for address is taken.
Returns: the availableIPAddresses value
/**
* Get contains other available private IP addresses if the asked for address is taken.
*
* @return the availableIPAddresses value
*/
public List<String> availableIPAddresses() {
return this.availableIPAddresses;
}
Set contains other available private IP addresses if the asked for address is taken.
Params: - availableIPAddresses – the availableIPAddresses value to set
Returns: the IPAddressAvailabilityResultInner object itself.
/**
* Set contains other available private IP addresses if the asked for address is taken.
*
* @param availableIPAddresses the availableIPAddresses value to set
* @return the IPAddressAvailabilityResultInner object itself.
*/
public IPAddressAvailabilityResultInner withAvailableIPAddresses(List<String> availableIPAddresses) {
this.availableIPAddresses = availableIPAddresses;
return this;
}
}