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

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

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

/** The cluster host information. */
@Fluent
public final class HostInfoInner {
    /*
     * The host name
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * The Fully Qualified Domain Name of host
     */
    @JsonProperty(value = "fqdn")
    private String fqdn;

    /*
     * The effective disk encryption key URL used by the host
     */
    @JsonProperty(value = "effectiveDiskEncryptionKeyUrl")
    private String effectiveDiskEncryptionKeyUrl;

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

    /**
     * Get the name property: The host name.
     *
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Set the name property: The host name.
     *
     * @param name the name value to set.
     * @return the HostInfoInner object itself.
     */
    public HostInfoInner withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the fqdn property: The Fully Qualified Domain Name of host.
     *
     * @return the fqdn value.
     */
    public String fqdn() {
        return this.fqdn;
    }

    /**
     * Set the fqdn property: The Fully Qualified Domain Name of host.
     *
     * @param fqdn the fqdn value to set.
     * @return the HostInfoInner object itself.
     */
    public HostInfoInner withFqdn(String fqdn) {
        this.fqdn = fqdn;
        return this;
    }

    /**
     * Get the effectiveDiskEncryptionKeyUrl property: The effective disk encryption key URL used by the host.
     *
     * @return the effectiveDiskEncryptionKeyUrl value.
     */
    public String effectiveDiskEncryptionKeyUrl() {
        return this.effectiveDiskEncryptionKeyUrl;
    }

    /**
     * Set the effectiveDiskEncryptionKeyUrl property: The effective disk encryption key URL used by the host.
     *
     * @param effectiveDiskEncryptionKeyUrl the effectiveDiskEncryptionKeyUrl value to set.
     * @return the HostInfoInner object itself.
     */
    public HostInfoInner withEffectiveDiskEncryptionKeyUrl(String effectiveDiskEncryptionKeyUrl) {
        this.effectiveDiskEncryptionKeyUrl = effectiveDiskEncryptionKeyUrl;
        return this;
    }

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