TransactionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. billing. models. ProxyResourceWithTags - com.
azure. resourcemanager. billing. fluent. models. TransactionInner
- com.
- com.
- com.
public final class TransactionInner
extends ProxyResourceWithTags
A transaction.
Constructor Summary
| Constructor | Description |
|---|---|
| TransactionInner() |
Creates an instance of Transaction |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Transaction |
fromJson(JsonReader jsonReader)
Reads an instance of Transaction |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Transaction |
properties()
Get the properties property: A transaction. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Transaction |
withProperties(TransactionProperties properties)
Set the properties property: A transaction. |
|
Transaction |
withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. |
Methods inherited from ProxyResourceWithTags
Methods inherited from java.lang.Object
Constructor Details
TransactionInner
public TransactionInner()
Creates an instance of TransactionInner class.
Method Details
fromJson
public static TransactionInner fromJson(JsonReader jsonReader)
Reads an instance of TransactionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TransactionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TransactionInner.name()Returns:
properties
public TransactionProperties properties()
Get the properties property: A transaction.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
TransactionInner.systemData()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TransactionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TransactionInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
TransactionInner.validate()withProperties
public TransactionInner withProperties(TransactionProperties properties)
Set the properties property: A transaction.
Parameters:
Returns:
withTags
public TransactionInner withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Overrides:
TransactionInner.withTags(Map<String,String> tags)Parameters: