ReservationRecommendationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. fluent. models. ReservationRecommendationInner
- com.
- com.
public class ReservationRecommendationInner
extends ProxyResource
A reservation recommendation resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationRecommendationInner() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: The etag for the resource. |
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Reservation |
kind()
Get the kind property: Specifies the kind of reservation recommendation. |
| String |
location()
Get the location property: Resource location. |
| String |
name()
Get the name property: The name of the resource. |
| String |
sku()
Get the sku property: Resource sku. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ReservationRecommendationInner
public ReservationRecommendationInner()
Creates an instance of ReservationRecommendationInner class.
Method Details
etag
public String etag()
Get the etag property: The etag for the resource.
Returns:
fromJson
public static ReservationRecommendationInner fromJson(JsonReader jsonReader)
Reads an instance of ReservationRecommendationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ReservationRecommendationInner.id()Returns:
kind
public ReservationRecommendationKind kind()
Get the kind property: Specifies the kind of reservation recommendation.
Returns:
location
public String location()
Get the location property: Resource location.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ReservationRecommendationInner.name()Returns:
sku
public String sku()
Get the sku property: Resource sku.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ReservationRecommendationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ReservationRecommendationInner.type()Returns:
validate
public void validate()
Validates the instance.