ReservationRecommendationDetailsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. fluent. models. ReservationRecommendationDetailsProperties
- com.
Implements
public final class ReservationRecommendationDetailsProperties
implements JsonSerializable<ReservationRecommendationDetailsProperties>
The properties of the reservation recommendation.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationRecommendationDetailsProperties() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
currency()
Get the currency property: An ISO 4217 currency code identifier for the costs and savings. |
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
|
Reservation |
resource()
Get the resource property: Resource specific properties. |
| String |
resourceGroup()
Get the resource |
|
Reservation |
savings()
Get the savings property: Savings information for the recommendation. |
| String |
scope()
Get the scope property: Scope of the reservation, ex: Single or Shared. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Reservation |
usage()
Get the usage property: Historical usage details used to calculate the estimated savings. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ReservationRecommendationDetailsProperties
public ReservationRecommendationDetailsProperties()
Creates an instance of ReservationRecommendationDetailsProperties class.
Method Details
currency
public String currency()
Get the currency property: An ISO 4217 currency code identifier for the costs and savings.
Returns:
fromJson
public static ReservationRecommendationDetailsProperties fromJson(JsonReader jsonReader)
Reads an instance of ReservationRecommendationDetailsProperties from the JsonReader.
Parameters:
Returns:
Throws:
resource
public ReservationRecommendationDetailsResourceProperties resource()
Get the resource property: Resource specific properties.
Returns:
resourceGroup
public String resourceGroup()
Get the resourceGroup property: Resource Group.
Returns:
savings
public ReservationRecommendationDetailsSavingsProperties savings()
Get the savings property: Savings information for the recommendation.
Returns:
scope
public String scope()
Get the scope property: Scope of the reservation, ex: Single or Shared.
Returns:
toJson
usage
public ReservationRecommendationDetailsUsageProperties usage()
Get the usage property: Historical usage details used to calculate the estimated savings.
Returns:
validate
public void validate()
Validates the instance.