Class CommitmentPlanInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cognitiveservices.fluent.models.CommitmentPlanInner
public final class CommitmentPlanInner
extends com.azure.core.management.ProxyResource
Cognitive Services account commitment plan.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: Resource Etag.Get the properties property: Properties of Cognitive Services account commitment plan.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.withProperties
(CommitmentPlanProperties properties) Set the properties property: Properties of Cognitive Services account commitment plan.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CommitmentPlanInner
public CommitmentPlanInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
etag
Get the etag property: Resource Etag.- Returns:
- the etag value.
-
properties
Get the properties property: Properties of Cognitive Services account commitment plan.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties of Cognitive Services account commitment plan.- Parameters:
properties
- the properties value to set.- Returns:
- the CommitmentPlanInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-