com.azure.resourcemanager.dashboard.models.ManagedGrafanaListResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-dashboard Show documentation
Show all versions of azure-resourcemanager-dashboard Show documentation
This package contains Microsoft Azure SDK for Dashboard Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Microsoft.Dashboard Rest API spec. Package tag package-2021-09-01-preview.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.dashboard.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.dashboard.fluent.models.ManagedGrafanaInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** The ManagedGrafanaListResponse model. */
@Fluent
public final class ManagedGrafanaListResponse {
/*
* The value property.
*/
@JsonProperty(value = "value")
private List value;
/*
* The nextLink property.
*/
@JsonProperty(value = "nextLink")
private String nextLink;
/**
* Get the value property: The value property.
*
* @return the value value.
*/
public List value() {
return this.value;
}
/**
* Set the value property: The value property.
*
* @param value the value value to set.
* @return the ManagedGrafanaListResponse object itself.
*/
public ManagedGrafanaListResponse withValue(List value) {
this.value = value;
return this;
}
/**
* Get the nextLink property: The nextLink property.
*
* @return the nextLink value.
*/
public String nextLink() {
return this.nextLink;
}
/**
* Set the nextLink property: The nextLink property.
*
* @param nextLink the nextLink value to set.
* @return the ManagedGrafanaListResponse object itself.
*/
public ManagedGrafanaListResponse withNextLink(String nextLink) {
this.nextLink = nextLink;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (value() != null) {
value().forEach(e -> e.validate());
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy