// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.hanaonazure.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Specifies the IP address of the network interface. */
@Fluent
public final class IpAddress {
    /*
     * Specifies the IP address of the network interface.
     */
    @JsonProperty(value = "ipAddress")
    private String ipAddress;

    /** Creates an instance of IpAddress class. */
    public IpAddress() {
    }

    /**
     * Get the ipAddress property: Specifies the IP address of the network interface.
     *
     * @return the ipAddress value.
     */
    public String ipAddress() {
        return this.ipAddress;
    }

    /**
     * Set the ipAddress property: Specifies the IP address of the network interface.
     *
     * @param ipAddress the ipAddress value to set.
     * @return the IpAddress object itself.
     */
    public IpAddress withIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
