com.azure.resourcemanager.appplatform.models.ResourceSkuCapabilities Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appplatform Show documentation
Show all versions of azure-resourcemanager-appplatform Show documentation
This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appplatform.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The ResourceSkuCapabilities model.
*/
@Fluent
public final class ResourceSkuCapabilities {
/*
* Gets an invariant to describe the feature.
*/
@JsonProperty(value = "name")
private String name;
/*
* Gets an invariant if the feature is measured by quantity.
*/
@JsonProperty(value = "value")
private String value;
/**
* Creates an instance of ResourceSkuCapabilities class.
*/
public ResourceSkuCapabilities() {
}
/**
* Get the name property: Gets an invariant to describe the feature.
*
* @return the name value.
*/
public String name() {
return this.name;
}
/**
* Set the name property: Gets an invariant to describe the feature.
*
* @param name the name value to set.
* @return the ResourceSkuCapabilities object itself.
*/
public ResourceSkuCapabilities withName(String name) {
this.name = name;
return this;
}
/**
* Get the value property: Gets an invariant if the feature is measured by quantity.
*
* @return the value value.
*/
public String value() {
return this.value;
}
/**
* Set the value property: Gets an invariant if the feature is measured by quantity.
*
* @param value the value value to set.
* @return the ResourceSkuCapabilities object itself.
*/
public ResourceSkuCapabilities withValue(String value) {
this.value = value;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}