Class SkuChangeInfo
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.SkuChangeInfo
-
public final class SkuChangeInfo extends Object
Sku change info of account.
-
-
Constructor Summary
Constructors Constructor Description SkuChangeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
countOfDowngrades()
Get the countOfDowngrades property: Gets the count of downgrades.Float
countOfUpgradesAfterDowngrades()
Get the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.String
lastChangeDate()
Get the lastChangeDate property: Gets the last change date.void
validate()
Validates the instance.SkuChangeInfo
withCountOfDowngrades(Float countOfDowngrades)
Set the countOfDowngrades property: Gets the count of downgrades.SkuChangeInfo
withCountOfUpgradesAfterDowngrades(Float countOfUpgradesAfterDowngrades)
Set the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.SkuChangeInfo
withLastChangeDate(String lastChangeDate)
Set the lastChangeDate property: Gets the last change date.
-
-
-
Method Detail
-
countOfDowngrades
public Float countOfDowngrades()
Get the countOfDowngrades property: Gets the count of downgrades.- Returns:
- the countOfDowngrades value.
-
withCountOfDowngrades
public SkuChangeInfo withCountOfDowngrades(Float countOfDowngrades)
Set the countOfDowngrades property: Gets the count of downgrades.- Parameters:
countOfDowngrades
- the countOfDowngrades value to set.- Returns:
- the SkuChangeInfo object itself.
-
countOfUpgradesAfterDowngrades
public Float countOfUpgradesAfterDowngrades()
Get the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.- Returns:
- the countOfUpgradesAfterDowngrades value.
-
withCountOfUpgradesAfterDowngrades
public SkuChangeInfo withCountOfUpgradesAfterDowngrades(Float countOfUpgradesAfterDowngrades)
Set the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.- Parameters:
countOfUpgradesAfterDowngrades
- the countOfUpgradesAfterDowngrades value to set.- Returns:
- the SkuChangeInfo object itself.
-
lastChangeDate
public String lastChangeDate()
Get the lastChangeDate property: Gets the last change date.- Returns:
- the lastChangeDate value.
-
withLastChangeDate
public SkuChangeInfo withLastChangeDate(String lastChangeDate)
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.
-
-