Class SkuChangeInfo
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.SkuChangeInfo
Sku change info of account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the countOfDowngrades property: Gets the count of downgrades.Get the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.Get the lastChangeDate property: Gets the last change date.void
validate()
Validates the instance.withCountOfDowngrades
(Float countOfDowngrades) Set the countOfDowngrades property: Gets the count of downgrades.withCountOfUpgradesAfterDowngrades
(Float countOfUpgradesAfterDowngrades) Set the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.withLastChangeDate
(String lastChangeDate) Set the lastChangeDate property: Gets the last change date.
-
Constructor Details
-
SkuChangeInfo
public SkuChangeInfo()
-
-
Method Details
-
countOfDowngrades
Get the countOfDowngrades property: Gets the count of downgrades.- Returns:
- the countOfDowngrades value.
-
withCountOfDowngrades
Set the countOfDowngrades property: Gets the count of downgrades.- Parameters:
countOfDowngrades
- the countOfDowngrades value to set.- Returns:
- the SkuChangeInfo object itself.
-
countOfUpgradesAfterDowngrades
Get the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.- Returns:
- the countOfUpgradesAfterDowngrades value.
-
withCountOfUpgradesAfterDowngrades
Set the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.- Parameters:
countOfUpgradesAfterDowngrades
- the countOfUpgradesAfterDowngrades value to set.- Returns:
- the SkuChangeInfo object itself.
-
lastChangeDate
Get the lastChangeDate property: Gets the last change date.- Returns:
- the lastChangeDate value.
-
withLastChangeDate
Set the lastChangeDate property: Gets the last change date.- Parameters:
lastChangeDate
- the lastChangeDate value to set.- Returns:
- the SkuChangeInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-