Class CommitmentTierInner
java.lang.Object
com.azure.resourcemanager.cognitiveservices.fluent.models.CommitmentTierInner
Cognitive Services account commitment tier.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncost()
Get the cost property: Cognitive Services account commitment cost.Get the hostingModel property: Account hosting model.kind()
Get the kind property: The Kind of the resource.maxCount()
Get the maxCount property: Commitment period commitment max count.planType()
Get the planType property: Commitment plan type.quota()
Get the quota property: Cognitive Services account commitment quota.skuName()
Get the skuName property: The name of the SKU.tier()
Get the tier property: Commitment period commitment tier.void
validate()
Validates the instance.withCost
(CommitmentCost cost) Set the cost property: Cognitive Services account commitment cost.withHostingModel
(HostingModel hostingModel) Set the hostingModel property: Account hosting model.Set the kind property: The Kind of the resource.withMaxCount
(Integer maxCount) Set the maxCount property: Commitment period commitment max count.withPlanType
(String planType) Set the planType property: Commitment plan type.withQuota
(CommitmentQuota quota) Set the quota property: Cognitive Services account commitment quota.withSkuName
(String skuName) Set the skuName property: The name of the SKU.Set the tier property: Commitment period commitment tier.
-
Constructor Details
-
CommitmentTierInner
public CommitmentTierInner()
-
-
Method Details
-
kind
Get the kind property: The Kind of the resource.- Returns:
- the kind value.
-
withKind
Set the kind property: The Kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the CommitmentTierInner object itself.
-
skuName
Get the skuName property: The name of the SKU. Ex - P3. It is typically a letter+number code.- Returns:
- the skuName value.
-
withSkuName
Set the skuName property: The name of the SKU. Ex - P3. It is typically a letter+number code.- Parameters:
skuName
- the skuName value to set.- Returns:
- the CommitmentTierInner object itself.
-
hostingModel
Get the hostingModel property: Account hosting model.- Returns:
- the hostingModel value.
-
withHostingModel
Set the hostingModel property: Account hosting model.- Parameters:
hostingModel
- the hostingModel value to set.- Returns:
- the CommitmentTierInner object itself.
-
planType
Get the planType property: Commitment plan type.- Returns:
- the planType value.
-
withPlanType
Set the planType property: Commitment plan type.- Parameters:
planType
- the planType value to set.- Returns:
- the CommitmentTierInner object itself.
-
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 CommitmentTierInner object itself.
-
maxCount
Get the maxCount property: Commitment period commitment max count.- Returns:
- the maxCount value.
-
withMaxCount
Set the maxCount property: Commitment period commitment max count.- Parameters:
maxCount
- the maxCount value to set.- Returns:
- the CommitmentTierInner object itself.
-
quota
Get the quota property: Cognitive Services account commitment quota.- Returns:
- the quota value.
-
withQuota
Set the quota property: Cognitive Services account commitment quota.- Parameters:
quota
- the quota value to set.- Returns:
- the CommitmentTierInner object itself.
-
cost
Get the cost property: Cognitive Services account commitment cost.- Returns:
- the cost value.
-
withCost
Set the cost property: Cognitive Services account commitment cost.- Parameters:
cost
- the cost value to set.- Returns:
- the CommitmentTierInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-