Class ReservationRecommendationDetailsModelInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.consumption.fluent.models.ReservationRecommendationDetailsModelInner
-
public final class ReservationRecommendationDetailsModelInner extends com.azure.core.management.ProxyResource
Reservation recommendation details.
-
-
Constructor Summary
Constructors Constructor Description ReservationRecommendationDetailsModelInner()
-
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.String
etag()
Get the etag property: The etag for the resource.String
location()
Get the location property: Resource Location.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.String
sku()
Get the sku property: Resource sku.Map<String,String>
tags()
Get the tags property: Resource tags.ReservationRecommendationDetailsUsageProperties
usage()
Get the usage property: Historical usage details used to calculate the estimated savings.void
validate()
Validates the instance.ReservationRecommendationDetailsModelInner
withLocation(String location)
Set the location property: Resource Location.ReservationRecommendationDetailsModelInner
withSku(String sku)
Set the sku property: Resource sku.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Resource Location.- Returns:
- the location value.
-
withLocation
public ReservationRecommendationDetailsModelInner withLocation(String location)
Set the location property: Resource Location.- Parameters:
location
- the location value to set.- Returns:
- the ReservationRecommendationDetailsModelInner object itself.
-
sku
public String sku()
Get the sku property: Resource sku.- Returns:
- the sku value.
-
withSku
public ReservationRecommendationDetailsModelInner withSku(String sku)
Set the sku property: Resource sku.- Parameters:
sku
- the sku value to set.- Returns:
- the ReservationRecommendationDetailsModelInner object itself.
-
etag
public String etag()
Get the etag property: The etag for the resource.- Returns:
- the etag value.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
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.
-
-