All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.network.implementation.IPAddressAvailabilityResultInner Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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.
 */
public class IPAddressAvailabilityResultInner {
    /**
     * Private IP address availability.
     */
    @JsonProperty(value = "available")
    private Boolean available;

    /**
     * Contains other available private IP addresses if the asked for address
     * is taken.
     */
    @JsonProperty(value = "availableIPAddresses")
    private List availableIPAddresses;

    /**
     * Get private IP address availability.
     *
     * @return the available value
     */
    public Boolean available() {
        return this.available;
    }

    /**
     * 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.
     *
     * @return the availableIPAddresses value
     */
    public List availableIPAddresses() {
        return this.availableIPAddresses;
    }

    /**
     * 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 availableIPAddresses) {
        this.availableIPAddresses = availableIPAddresses;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy