Class AppliedScopeProperties

java.lang.Object
com.azure.resourcemanager.billingbenefits.models.AppliedScopeProperties

public final class AppliedScopeProperties extends Object
Properties specific to applied scope type. Not required if not applicable.
  • Constructor Details

    • AppliedScopeProperties

      public AppliedScopeProperties()
      Creates an instance of AppliedScopeProperties class.
  • Method Details

    • tenantId

      public String tenantId()
      Get the tenantId property: Tenant ID where the benefit is applied.
      Returns:
      the tenantId value.
    • withTenantId

      public AppliedScopeProperties withTenantId(String tenantId)
      Set the tenantId property: Tenant ID where the benefit is applied.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the AppliedScopeProperties object itself.
    • managementGroupId

      public String managementGroupId()
      Get the managementGroupId property: Fully-qualified identifier of the management group where the benefit must be applied.
      Returns:
      the managementGroupId value.
    • withManagementGroupId

      public AppliedScopeProperties withManagementGroupId(String managementGroupId)
      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

      public String subscriptionId()
      Get the subscriptionId property: Fully-qualified identifier of the subscription.
      Returns:
      the subscriptionId value.
    • withSubscriptionId

      public AppliedScopeProperties withSubscriptionId(String subscriptionId)
      Set the subscriptionId property: Fully-qualified identifier of the subscription.
      Parameters:
      subscriptionId - the subscriptionId value to set.
      Returns:
      the AppliedScopeProperties object itself.
    • resourceGroupId

      public String resourceGroupId()
      Get the resourceGroupId property: Fully-qualified identifier of the resource group.
      Returns:
      the resourceGroupId value.
    • withResourceGroupId

      public AppliedScopeProperties withResourceGroupId(String resourceGroupId)
      Set the resourceGroupId property: Fully-qualified identifier of the resource group.
      Parameters:
      resourceGroupId - the resourceGroupId value to set.
      Returns:
      the AppliedScopeProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name.
      Returns:
      the displayName value.
    • withDisplayName

      public AppliedScopeProperties withDisplayName(String displayName)
      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.