com.azure.resourcemanager.elastic.fluent.models.VMResourcesInner 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 resource properties that is currently being monitored by the Elastic monitor resource. */
@Fluent
public final class VMResourcesInner {
/*
* The ARM id of the VM resource.
*/
@JsonProperty(value = "vmResourceId")
private String vmResourceId;
/** Creates an instance of VMResourcesInner class. */
public VMResourcesInner() {
}
/**
* Get the vmResourceId property: The ARM id of the VM resource.
*
* @return the vmResourceId value.
*/
public String vmResourceId() {
return this.vmResourceId;
}
/**
* Set the vmResourceId property: The ARM id of the VM resource.
*
* @param vmResourceId the vmResourceId value to set.
* @return the VMResourcesInner object itself.
*/
public VMResourcesInner withVmResourceId(String vmResourceId) {
this.vmResourceId = vmResourceId;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}