Class CommitmentPeriod
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.CommitmentPeriod
Cognitive Services account commitment period.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Commitment period commitment count.endDate()
Get the endDate property: Commitment period end date.quota()
Get the quota property: Cognitive Services account commitment quota.Get the startDate property: Commitment period start date.tier()
Get the tier property: Commitment period commitment tier.void
validate()
Validates the instance.Set the count property: Commitment period commitment count.Set the tier property: Commitment period commitment tier.
-
Constructor Details
-
CommitmentPeriod
public CommitmentPeriod()
-
-
Method Details
-
tier
Get the tier property: Commitment period commitment tier.- Returns:
- the tier value.
-
withTier
Set the tier property: Commitment period commitment tier.- Parameters:
tier
- the tier value to set.- Returns:
- the CommitmentPeriod object itself.
-
count
Get the count property: Commitment period commitment count.- Returns:
- the count value.
-
withCount
Set the count property: Commitment period commitment count.- Parameters:
count
- the count value to set.- Returns:
- the CommitmentPeriod object itself.
-
quota
Get the quota property: Cognitive Services account commitment quota.- Returns:
- the quota value.
-
startDate
Get the startDate property: Commitment period start date.- Returns:
- the startDate value.
-
endDate
Get the endDate property: Commitment period end date.- Returns:
- the endDate value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-