com.azure.resourcemanager.elastic.fluent.models.VMIngestionDetailsResponseInner Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.elastic.fluent.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The vm ingestion details to install an agent. */
@Fluent
public final class VMIngestionDetailsResponseInner {
/*
* The cloudId of given Elastic monitor resource.
*/
@JsonProperty(value = "cloudId")
private String cloudId;
/*
* Ingestion details to install agent on given VM.
*/
@JsonProperty(value = "ingestionKey")
private String ingestionKey;
/** Creates an instance of VMIngestionDetailsResponseInner class. */
public VMIngestionDetailsResponseInner() {
}
/**
* Get the cloudId property: The cloudId of given Elastic monitor resource.
*
* @return the cloudId value.
*/
public String cloudId() {
return this.cloudId;
}
/**
* Set the cloudId property: The cloudId of given Elastic monitor resource.
*
* @param cloudId the cloudId value to set.
* @return the VMIngestionDetailsResponseInner object itself.
*/
public VMIngestionDetailsResponseInner withCloudId(String cloudId) {
this.cloudId = cloudId;
return this;
}
/**
* Get the ingestionKey property: Ingestion details to install agent on given VM.
*
* @return the ingestionKey value.
*/
public String ingestionKey() {
return this.ingestionKey;
}
/**
* Set the ingestionKey property: Ingestion details to install agent on given VM.
*
* @param ingestionKey the ingestionKey value to set.
* @return the VMIngestionDetailsResponseInner object itself.
*/
public VMIngestionDetailsResponseInner withIngestionKey(String ingestionKey) {
this.ingestionKey = ingestionKey;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}