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