AppliedScopeProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. AppliedScopeProperties
- com.
Implements
public final class AppliedScopeProperties
implements JsonSerializable<AppliedScopeProperties>
Properties specific to applied scope type. Not required if not applicable.
Constructor Summary
| Constructor | Description |
|---|---|
| AppliedScopeProperties() |
Creates an instance of Applied |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
displayName()
Get the display |
|
static
Applied |
fromJson(JsonReader jsonReader)
Reads an instance of Applied |
| String |
managementGroupId()
Get the management |
| String |
resourceGroupId()
Get the resource |
| String |
subscriptionId()
Get the subscription |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Applied |
withDisplayName(String displayName)
Set the display |
|
Applied |
withManagementGroupId(String managementGroupId)
Set the management |
|
Applied |
withResourceGroupId(String resourceGroupId)
Set the resource |
|
Applied |
withSubscriptionId(String subscriptionId)
Set the subscription |
|
Applied |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
AppliedScopeProperties
public AppliedScopeProperties()
Creates an instance of AppliedScopeProperties class.
Method Details
displayName
public String displayName()
Get the displayName property: Display name.
Returns:
fromJson
public static AppliedScopeProperties fromJson(JsonReader jsonReader)
Reads an instance of AppliedScopeProperties from the JsonReader.
Parameters:
Returns:
Throws:
managementGroupId
public String managementGroupId()
Get the managementGroupId property: Fully-qualified identifier of the management group where the benefit is applied.
Returns:
resourceGroupId
public String resourceGroupId()
Get the resourceGroupId property: Fully-qualified identifier of the resource group where the benefit is applied.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: Fully-qualified identifier of the subscription where the benefit is applied.
Returns:
tenantId
public String tenantId()
Get the tenantId property: Tenant ID where the savings plan where the benefit is applied.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplayName
public AppliedScopeProperties withDisplayName(String displayName)
Set the displayName property: Display name.
Parameters:
Returns:
withManagementGroupId
public AppliedScopeProperties withManagementGroupId(String managementGroupId)
Set the managementGroupId property: Fully-qualified identifier of the management group where the benefit is applied.
Parameters:
Returns:
withResourceGroupId
public AppliedScopeProperties withResourceGroupId(String resourceGroupId)
Set the resourceGroupId property: Fully-qualified identifier of the resource group where the benefit is applied.
Parameters:
Returns:
withSubscriptionId
public AppliedScopeProperties withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Fully-qualified identifier of the subscription where the benefit is applied.
Parameters:
Returns:
withTenantId
public AppliedScopeProperties withTenantId(String tenantId)
Set the tenantId property: Tenant ID where the savings plan where the benefit is applied.
Parameters:
Returns: