Class AppliedScopeProperties
java.lang.Object
com.azure.resourcemanager.billingbenefits.models.AppliedScopeProperties
Properties specific to applied scope type. Not required if not applicable.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AppliedScopeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name.Get the managementGroupId property: Fully-qualified identifier of the management group where the benefit must be applied.Get the resourceGroupId property: Fully-qualified identifier of the resource group.Get the subscriptionId property: Fully-qualified identifier of the subscription.tenantId()
Get the tenantId property: Tenant ID where the benefit is applied.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Display name.withManagementGroupId
(String managementGroupId) Set the managementGroupId property: Fully-qualified identifier of the management group where the benefit must be applied.withResourceGroupId
(String resourceGroupId) Set the resourceGroupId property: Fully-qualified identifier of the resource group.withSubscriptionId
(String subscriptionId) Set the subscriptionId property: Fully-qualified identifier of the subscription.withTenantId
(String tenantId) Set the tenantId property: Tenant ID where the benefit is applied.
-
Constructor Details
-
AppliedScopeProperties
public AppliedScopeProperties()Creates an instance of AppliedScopeProperties class.
-
-
Method Details
-
tenantId
Get the tenantId property: Tenant ID where the benefit is applied.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: Tenant ID where the benefit is applied.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the AppliedScopeProperties object itself.
-
managementGroupId
Get the managementGroupId property: Fully-qualified identifier of the management group where the benefit must be applied.- Returns:
- the managementGroupId value.
-
withManagementGroupId
Set the managementGroupId property: Fully-qualified identifier of the management group where the benefit must be applied.- Parameters:
managementGroupId
- the managementGroupId value to set.- Returns:
- the AppliedScopeProperties object itself.
-
subscriptionId
Get the subscriptionId property: Fully-qualified identifier of the subscription.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: Fully-qualified identifier of the subscription.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the AppliedScopeProperties object itself.
-
resourceGroupId
Get the resourceGroupId property: Fully-qualified identifier of the resource group.- Returns:
- the resourceGroupId value.
-
withResourceGroupId
Set the resourceGroupId property: Fully-qualified identifier of the resource group.- Parameters:
resourceGroupId
- the resourceGroupId value to set.- Returns:
- the AppliedScopeProperties object itself.
-
displayName
Get the displayName property: Display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the AppliedScopeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-