CommitmentPlanAccountAssociationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cognitiveservices. fluent. models. CommitmentPlanAccountAssociationInner
- com.
- com.
public final class CommitmentPlanAccountAssociationInner
extends ProxyResource
The commitment plan association.
Constructor Summary
| Constructor | Description |
|---|---|
| CommitmentPlanAccountAssociationInner() |
Creates an instance of Commitment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountId()
Get the account |
| String |
etag()
Get the etag property: Resource Etag. |
|
static
Commitment |
fromJson(JsonReader jsonReader)
Reads an instance of Commitment |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Commitment |
withAccountId(String accountId)
Set the account |
|
Commitment |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
CommitmentPlanAccountAssociationInner
public CommitmentPlanAccountAssociationInner()
Creates an instance of CommitmentPlanAccountAssociationInner class.
Method Details
accountId
public String accountId()
Get the accountId property: The Azure resource id of the account.
Returns:
etag
public String etag()
Get the etag property: Resource Etag.
Returns:
fromJson
public static CommitmentPlanAccountAssociationInner fromJson(JsonReader jsonReader)
Reads an instance of CommitmentPlanAccountAssociationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CommitmentPlanAccountAssociationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CommitmentPlanAccountAssociationInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CommitmentPlanAccountAssociationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CommitmentPlanAccountAssociationInner.type()Returns:
validate
public void validate()
Validates the instance.
withAccountId
public CommitmentPlanAccountAssociationInner withAccountId(String accountId)
Set the accountId property: The Azure resource id of the account.
Parameters:
Returns:
withTags
public CommitmentPlanAccountAssociationInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: