java.lang.Object
com.azure.resourcemanager.cognitiveservices.fluent.models.CommitmentTierInner

public final class CommitmentTierInner extends Object
Cognitive Services account commitment tier.
  • Constructor Details

    • CommitmentTierInner

      public CommitmentTierInner()
  • Method Details

    • kind

      public String kind()
      Get the kind property: The Kind of the resource.
      Returns:
      the kind value.
    • withKind

      public CommitmentTierInner withKind(String kind)
      Set the kind property: The Kind of the resource.
      Parameters:
      kind - the kind value to set.
      Returns:
      the CommitmentTierInner object itself.
    • skuName

      public String skuName()
      Get the skuName property: The name of the SKU. Ex - P3. It is typically a letter+number code.
      Returns:
      the skuName value.
    • withSkuName

      public CommitmentTierInner withSkuName(String skuName)
      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

      public HostingModel hostingModel()
      Get the hostingModel property: Account hosting model.
      Returns:
      the hostingModel value.
    • withHostingModel

      public CommitmentTierInner withHostingModel(HostingModel hostingModel)
      Set the hostingModel property: Account hosting model.
      Parameters:
      hostingModel - the hostingModel value to set.
      Returns:
      the CommitmentTierInner object itself.
    • planType

      public String planType()
      Get the planType property: Commitment plan type.
      Returns:
      the planType value.
    • withPlanType

      public CommitmentTierInner withPlanType(String planType)
      Set the planType property: Commitment plan type.
      Parameters:
      planType - the planType value to set.
      Returns:
      the CommitmentTierInner object itself.
    • tier

      public String tier()
      Get the tier property: Commitment period commitment tier.
      Returns:
      the tier value.
    • withTier

      public CommitmentTierInner withTier(String tier)
      Set the tier property: Commitment period commitment tier.
      Parameters:
      tier - the tier value to set.
      Returns:
      the CommitmentTierInner object itself.
    • maxCount

      public Integer maxCount()
      Get the maxCount property: Commitment period commitment max count.
      Returns:
      the maxCount value.
    • withMaxCount

      public CommitmentTierInner withMaxCount(Integer maxCount)
      Set the maxCount property: Commitment period commitment max count.
      Parameters:
      maxCount - the maxCount value to set.
      Returns:
      the CommitmentTierInner object itself.
    • quota

      public CommitmentQuota quota()
      Get the quota property: Cognitive Services account commitment quota.
      Returns:
      the quota value.
    • withQuota

      public CommitmentTierInner withQuota(CommitmentQuota quota)
      Set the quota property: Cognitive Services account commitment quota.
      Parameters:
      quota - the quota value to set.
      Returns:
      the CommitmentTierInner object itself.
    • cost

      public CommitmentCost cost()
      Get the cost property: Cognitive Services account commitment cost.
      Returns:
      the cost value.
    • withCost

      public CommitmentTierInner withCost(CommitmentCost cost)
      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.