Class BenefitRecommendationModelInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.models.BenefitResource
com.azure.resourcemanager.costmanagement.fluent.models.BenefitRecommendationModelInner
benefit plan recommendation details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BenefitRecommendationModelInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: The properties of the benefit recommendations.void
validate()
Validates the instance.withKind
(BenefitKind kind) Set the kind property: Reservation or SavingsPlan.withProperties
(BenefitRecommendationProperties properties) Set the properties property: The properties of the benefit recommendations.Methods inherited from class com.azure.resourcemanager.costmanagement.models.BenefitResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
BenefitRecommendationModelInner
public BenefitRecommendationModelInner()Creates an instance of BenefitRecommendationModelInner class.
-
-
Method Details
-
properties
Get the properties property: The properties of the benefit recommendations.- Returns:
- the properties value.
-
withProperties
Set the properties property: The properties of the benefit recommendations.- Parameters:
properties
- the properties value to set.- Returns:
- the BenefitRecommendationModelInner object itself.
-
withKind
Set the kind property: Reservation or SavingsPlan.- Overrides:
withKind
in classBenefitResource
- Parameters:
kind
- the kind value to set.- Returns:
- the BenefitResource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classBenefitResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-