Class SavingsPlanUpdateValidateRequest
java.lang.Object
com.azure.resourcemanager.billingbenefits.models.SavingsPlanUpdateValidateRequest
The SavingsPlanUpdateValidateRequest model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SavingsPlanUpdateValidateRequest class. -
Method Summary
Modifier and TypeMethodDescriptionbenefits()
Get the benefits property: The benefits property.void
validate()
Validates the instance.withBenefits
(List<SavingsPlanUpdateRequestProperties> benefits) Set the benefits property: The benefits property.
-
Constructor Details
-
SavingsPlanUpdateValidateRequest
public SavingsPlanUpdateValidateRequest()Creates an instance of SavingsPlanUpdateValidateRequest class.
-
-
Method Details
-
benefits
Get the benefits property: The benefits property.- Returns:
- the benefits value.
-
withBenefits
public SavingsPlanUpdateValidateRequest withBenefits(List<SavingsPlanUpdateRequestProperties> benefits) Set the benefits property: The benefits property.- Parameters:
benefits
- the benefits value to set.- Returns:
- the SavingsPlanUpdateValidateRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-