ResourceSkuCapabilities Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ResourceSkuCapabilities
- com.
Implements
public final class ResourceSkuCapabilities
implements JsonSerializable<ResourceSkuCapabilities>
The ResourceSkuCapabilities model.
Constructor Summary
Constructor | Description |
---|---|
ResourceSkuCapabilities() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
name()
Get the name property: Gets an invariant to describe the feature. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Gets an invariant if the feature is measured by quantity. |
Resource |
withName(String name)
Set the name property: Gets an invariant to describe the feature. |
Resource |
withValue(String value)
Set the value property: Gets an invariant if the feature is measured by quantity. |
Methods inherited from java.lang.Object
Constructor Details
ResourceSkuCapabilities
public ResourceSkuCapabilities()
Creates an instance of ResourceSkuCapabilities class.
Method Details
fromJson
public static ResourceSkuCapabilities fromJson(JsonReader jsonReader)
Reads an instance of ResourceSkuCapabilities from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Gets an invariant to describe the feature.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Gets an invariant if the feature is measured by quantity.
Returns:
withName
public ResourceSkuCapabilities withName(String name)
Set the name property: Gets an invariant to describe the feature.
Parameters:
Returns:
withValue
public ResourceSkuCapabilities withValue(String value)
Set the value property: Gets an invariant if the feature is measured by quantity.
Parameters:
Returns:
Applies to
Azure SDK for Java