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
Constructors Constructor Description CommitmentPlanInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Resource Etag.CommitmentPlanProperties
properties()
Get the properties property: Properties of Cognitive Services account commitment plan.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.CommitmentPlanInner
withProperties(CommitmentPlanProperties properties)
Set the properties property: Properties of Cognitive Services account commitment plan.
-
-
-
Method Detail
-
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
public String etag()
Get the etag property: Resource Etag.- Returns:
- the etag value.
-
properties
public CommitmentPlanProperties properties()
Get the properties property: Properties of Cognitive Services account commitment plan.- Returns:
- the properties value.
-
withProperties
public CommitmentPlanInner withProperties(CommitmentPlanProperties properties)
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.
-
-