Class ReservationRecommendationDetailsProperties
- java.lang.Object
-
- com.azure.resourcemanager.consumption.fluent.models.ReservationRecommendationDetailsProperties
-
public final class ReservationRecommendationDetailsProperties extends Object
The properties of the reservation recommendation.
-
-
Constructor Summary
Constructors Constructor Description ReservationRecommendationDetailsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
currency()
Get the currency property: An ISO 4217 currency code identifier for the costs and savings.ReservationRecommendationDetailsResourceProperties
resource()
Get the resource property: Resource specific properties.String
resourceGroup()
Get the resourceGroup property: Resource Group.ReservationRecommendationDetailsSavingsProperties
savings()
Get the savings property: Savings information for the recommendation.String
scope()
Get the scope property: Scope of the reservation, ex: Single or Shared.ReservationRecommendationDetailsUsageProperties
usage()
Get the usage property: Historical usage details used to calculate the estimated savings.void
validate()
Validates the instance.
-
-
-
Method Detail
-
currency
public String currency()
Get the currency property: An ISO 4217 currency code identifier for the costs and savings.- Returns:
- the currency value.
-
resource
public ReservationRecommendationDetailsResourceProperties resource()
Get the resource property: Resource specific properties.- Returns:
- the resource value.
-
resourceGroup
public String resourceGroup()
Get the resourceGroup property: Resource Group.- Returns:
- the resourceGroup value.
-
savings
public ReservationRecommendationDetailsSavingsProperties savings()
Get the savings property: Savings information for the recommendation.- Returns:
- the savings value.
-
scope
public String scope()
Get the scope property: Scope of the reservation, ex: Single or Shared.- Returns:
- the scope value.
-
usage
public ReservationRecommendationDetailsUsageProperties usage()
Get the usage property: Historical usage details used to calculate the estimated savings.- Returns:
- the usage value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-