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

package com.azure.resourcemanager.avs.fluent.models;

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

/** Properties of a NSX Gateway. */
@Fluent
public final class WorkloadNetworkGatewayProperties {
    /*
     * Display name of the DHCP entity.
     */
    @JsonProperty(value = "displayName")
    private String displayName;

    /*
     * NSX Gateway Path.
     */
    @JsonProperty(value = "path", access = JsonProperty.Access.WRITE_ONLY)
    private String path;

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

    /**
     * Get the displayName property: Display name of the DHCP entity.
     *
     * @return the displayName value.
     */
    public String displayName() {
        return this.displayName;
    }

    /**
     * Set the displayName property: Display name of the DHCP entity.
     *
     * @param displayName the displayName value to set.
     * @return the WorkloadNetworkGatewayProperties object itself.
     */
    public WorkloadNetworkGatewayProperties withDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

    /**
     * Get the path property: NSX Gateway Path.
     *
     * @return the path value.
     */
    public String path() {
        return this.path;
    }

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