InvoiceSectionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. InvoiceSectionProperties
- com.
Implements
public final class InvoiceSectionProperties
implements JsonSerializable<InvoiceSectionProperties>
An invoice section.
Constructor Summary
| Constructor | Description |
|---|---|
| InvoiceSectionProperties() |
Creates an instance of Invoice |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
displayName()
Get the display |
|
static
Invoice |
fromJson(JsonReader jsonReader)
Reads an instance of Invoice |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Invoice |
reasonCode()
Get the reason |
|
Invoice |
state()
Get the state property: Identifies the status of an invoice section. |
| String |
systemId()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Dictionary of metadata associated with the resource. |
| String |
targetCloud()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Invoice |
withDisplayName(String displayName)
Set the display |
|
Invoice |
withReasonCode(InvoiceSectionStateReasonCode reasonCode)
Set the reason |
|
Invoice |
withState(InvoiceSectionState state)
Set the state property: Identifies the status of an invoice section. |
|
Invoice |
withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. |
|
Invoice |
withTargetCloud(String targetCloud)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
InvoiceSectionProperties
public InvoiceSectionProperties()
Creates an instance of InvoiceSectionProperties class.
Method Details
displayName
public String displayName()
Get the displayName property: The name of the invoice section.
Returns:
fromJson
public static InvoiceSectionProperties fromJson(JsonReader jsonReader)
Reads an instance of InvoiceSectionProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource during a long-running operation.
Returns:
reasonCode
public InvoiceSectionStateReasonCode reasonCode()
Get the reasonCode property: Reason for the specified invoice section status.
Returns:
state
public InvoiceSectionState state()
Get the state property: Identifies the status of an invoice section.
Returns:
systemId
public String systemId()
Get the systemId property: The system generated unique identifier for an invoice section.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Returns:
targetCloud
public String targetCloud()
Get the targetCloud property: Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplayName
public InvoiceSectionProperties withDisplayName(String displayName)
Set the displayName property: The name of the invoice section.
Parameters:
Returns:
withReasonCode
public InvoiceSectionProperties withReasonCode(InvoiceSectionStateReasonCode reasonCode)
Set the reasonCode property: Reason for the specified invoice section status.
Parameters:
Returns:
withState
public InvoiceSectionProperties withState(InvoiceSectionState state)
Set the state property: Identifies the status of an invoice section.
Parameters:
Returns:
withTags
public InvoiceSectionProperties withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Parameters:
Returns:
withTargetCloud
public InvoiceSectionProperties withTargetCloud(String targetCloud)
Set the targetCloud property: Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
Parameters:
Returns: