Class CommitmentCost
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.CommitmentCost
Cognitive Services account commitment cost.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the commitmentMeterId property: Commitment meter Id.Get the overageMeterId property: Overage meter Id.void
validate()
Validates the instance.withCommitmentMeterId
(String commitmentMeterId) Set the commitmentMeterId property: Commitment meter Id.withOverageMeterId
(String overageMeterId) Set the overageMeterId property: Overage meter Id.
-
Constructor Details
-
CommitmentCost
public CommitmentCost()
-
-
Method Details
-
commitmentMeterId
Get the commitmentMeterId property: Commitment meter Id.- Returns:
- the commitmentMeterId value.
-
withCommitmentMeterId
Set the commitmentMeterId property: Commitment meter Id.- Parameters:
commitmentMeterId
- the commitmentMeterId value to set.- Returns:
- the CommitmentCost object itself.
-
overageMeterId
Get the overageMeterId property: Overage meter Id.- Returns:
- the overageMeterId value.
-
withOverageMeterId
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.
-