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

package com.azure.resourcemanager.datadog.models;

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

/** The DatadogInstallMethod model. */
@Fluent
public final class DatadogInstallMethod {
    /*
     * The tool.
     */
    @JsonProperty(value = "tool")
    private String tool;

    /*
     * The tool version.
     */
    @JsonProperty(value = "toolVersion")
    private String toolVersion;

    /*
     * The installer version.
     */
    @JsonProperty(value = "installerVersion")
    private String installerVersion;

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

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

    /**
     * Set the tool property: The tool.
     *
     * @param tool the tool value to set.
     * @return the DatadogInstallMethod object itself.
     */
    public DatadogInstallMethod withTool(String tool) {
        this.tool = tool;
        return this;
    }

    /**
     * Get the toolVersion property: The tool version.
     *
     * @return the toolVersion value.
     */
    public String toolVersion() {
        return this.toolVersion;
    }

    /**
     * Set the toolVersion property: The tool version.
     *
     * @param toolVersion the toolVersion value to set.
     * @return the DatadogInstallMethod object itself.
     */
    public DatadogInstallMethod withToolVersion(String toolVersion) {
        this.toolVersion = toolVersion;
        return this;
    }

    /**
     * Get the installerVersion property: The installer version.
     *
     * @return the installerVersion value.
     */
    public String installerVersion() {
        return this.installerVersion;
    }

    /**
     * Set the installerVersion property: The installer version.
     *
     * @param installerVersion the installerVersion value to set.
     * @return the DatadogInstallMethod object itself.
     */
    public DatadogInstallMethod withInstallerVersion(String installerVersion) {
        this.installerVersion = installerVersion;
        return this;
    }

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