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

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

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

/** Response of payload to be passed while installing VM agent. */
@Fluent
public final class VMExtensionPayloadInner {
    /*
     * Ingestion key of the environment
     */
    @JsonProperty(value = "ingestionKey")
    private String ingestionKey;

    /*
     * Id of the environment created
     */
    @JsonProperty(value = "environmentId")
    private String environmentId;

    /**
     * Get the ingestionKey property: Ingestion key of the environment.
     *
     * @return the ingestionKey value.
     */
    public String ingestionKey() {
        return this.ingestionKey;
    }

    /**
     * Set the ingestionKey property: Ingestion key of the environment.
     *
     * @param ingestionKey the ingestionKey value to set.
     * @return the VMExtensionPayloadInner object itself.
     */
    public VMExtensionPayloadInner withIngestionKey(String ingestionKey) {
        this.ingestionKey = ingestionKey;
        return this;
    }

    /**
     * Get the environmentId property: Id of the environment created.
     *
     * @return the environmentId value.
     */
    public String environmentId() {
        return this.environmentId;
    }

    /**
     * Set the environmentId property: Id of the environment created.
     *
     * @param environmentId the environmentId value to set.
     * @return the VMExtensionPayloadInner object itself.
     */
    public VMExtensionPayloadInner withEnvironmentId(String environmentId) {
        this.environmentId = environmentId;
        return this;
    }

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