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

package com.azure.resourcemanager.newrelicobservability.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 account
     */
    @JsonProperty(value = "ingestionKey")
    private String ingestionKey;

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

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

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

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