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

package com.azure.resourcemanager.hybridcontainerservice.models;

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

/** The VirtualNetworksPropertiesVipPoolItem model. */
@Fluent
public final class VirtualNetworksPropertiesVipPoolItem {
    /*
     * Ending IP address for the IP Pool
     */
    @JsonProperty(value = "endIP")
    private String endIp;

    /*
     * Starting IP address for the IP Pool
     */
    @JsonProperty(value = "startIP")
    private String startIp;

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

    /**
     * Get the endIp property: Ending IP address for the IP Pool.
     *
     * @return the endIp value.
     */
    public String endIp() {
        return this.endIp;
    }

    /**
     * Set the endIp property: Ending IP address for the IP Pool.
     *
     * @param endIp the endIp value to set.
     * @return the VirtualNetworksPropertiesVipPoolItem object itself.
     */
    public VirtualNetworksPropertiesVipPoolItem withEndIp(String endIp) {
        this.endIp = endIp;
        return this;
    }

    /**
     * Get the startIp property: Starting IP address for the IP Pool.
     *
     * @return the startIp value.
     */
    public String startIp() {
        return this.startIp;
    }

    /**
     * Set the startIp property: Starting IP address for the IP Pool.
     *
     * @param startIp the startIp value to set.
     * @return the VirtualNetworksPropertiesVipPoolItem object itself.
     */
    public VirtualNetworksPropertiesVipPoolItem withStartIp(String startIp) {
        this.startIp = startIp;
        return this;
    }

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