Class CommitmentCost


  • public final class CommitmentCost
    extends Object
    Cognitive Services account commitment cost.
    • Constructor Detail

      • CommitmentCost

        public CommitmentCost()
    • Method Detail

      • commitmentMeterId

        public String commitmentMeterId()
        Get the commitmentMeterId property: Commitment meter Id.
        Returns:
        the commitmentMeterId value.
      • withCommitmentMeterId

        public CommitmentCost withCommitmentMeterId​(String commitmentMeterId)
        Set the commitmentMeterId property: Commitment meter Id.
        Parameters:
        commitmentMeterId - the commitmentMeterId value to set.
        Returns:
        the CommitmentCost object itself.
      • overageMeterId

        public String overageMeterId()
        Get the overageMeterId property: Overage meter Id.
        Returns:
        the overageMeterId value.
      • withOverageMeterId

        public CommitmentCost withOverageMeterId​(String overageMeterId)
        Set the overageMeterId property: Overage meter Id.
        Parameters:
        overageMeterId - the overageMeterId value to set.
        Returns:
        the CommitmentCost object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.