Class DefaultAccountPayloadInner

java.lang.Object
com.azure.resourcemanager.purview.fluent.models.DefaultAccountPayloadInner

public final class DefaultAccountPayloadInner extends Object
Payload to get and set the default account in the given scope.
  • Constructor Details

    • DefaultAccountPayloadInner

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

    • accountName

      public String accountName()
      Get the accountName property: The name of the account that is set as the default.
      Returns:
      the accountName value.
    • withAccountName

      public DefaultAccountPayloadInner withAccountName(String accountName)
      Set the accountName property: The name of the account that is set as the default.
      Parameters:
      accountName - the accountName value to set.
      Returns:
      the DefaultAccountPayloadInner object itself.
    • resourceGroupName

      public String resourceGroupName()
      Get the resourceGroupName property: The resource group name of the account that is set as the default.
      Returns:
      the resourceGroupName value.
    • withResourceGroupName

      public DefaultAccountPayloadInner withResourceGroupName(String resourceGroupName)
      Set the resourceGroupName property: The resource group name of the account that is set as the default.
      Parameters:
      resourceGroupName - the resourceGroupName value to set.
      Returns:
      the DefaultAccountPayloadInner object itself.
    • scope

      public String scope()
      Get the scope property: The scope object ID. For example, sub ID or tenant ID.
      Returns:
      the scope value.
    • withScope

      public DefaultAccountPayloadInner withScope(String scope)
      Set the scope property: The scope object ID. For example, sub ID or tenant ID.
      Parameters:
      scope - the scope value to set.
      Returns:
      the DefaultAccountPayloadInner object itself.
    • scopeTenantId

      public String scopeTenantId()
      Get the scopeTenantId property: The scope tenant in which the default account is set.
      Returns:
      the scopeTenantId value.
    • withScopeTenantId

      public DefaultAccountPayloadInner withScopeTenantId(String scopeTenantId)
      Set the scopeTenantId property: The scope tenant in which the default account is set.
      Parameters:
      scopeTenantId - the scopeTenantId value to set.
      Returns:
      the DefaultAccountPayloadInner object itself.
    • scopeType

      public ScopeType scopeType()
      Get the scopeType property: The scope where the default account is set.
      Returns:
      the scopeType value.
    • withScopeType

      public DefaultAccountPayloadInner withScopeType(ScopeType scopeType)
      Set the scopeType property: The scope where the default account is set.
      Parameters:
      scopeType - the scopeType value to set.
      Returns:
      the DefaultAccountPayloadInner object itself.
    • subscriptionId

      public String subscriptionId()
      Get the subscriptionId property: The subscription ID of the account that is set as the default.
      Returns:
      the subscriptionId value.
    • withSubscriptionId

      public DefaultAccountPayloadInner withSubscriptionId(String subscriptionId)
      Set the subscriptionId property: The subscription ID of the account that is set as the default.
      Parameters:
      subscriptionId - the subscriptionId value to set.
      Returns:
      the DefaultAccountPayloadInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.