Class DefaultAccountPayloadInner
java.lang.Object
com.azure.resourcemanager.purview.fluent.models.DefaultAccountPayloadInner
Payload to get and set the default account in the given scope.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DefaultAccountPayloadInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accountName property: The name of the account that is set as the default.Get the resourceGroupName property: The resource group name of the account that is set as the default.scope()
Get the scope property: The scope object ID.Get the scopeTenantId property: The scope tenant in which the default account is set.Get the scopeType property: The scope where the default account is set.Get the subscriptionId property: The subscription ID of the account that is set as the default.void
validate()
Validates the instance.withAccountName
(String accountName) Set the accountName property: The name of the account that is set as the default.withResourceGroupName
(String resourceGroupName) Set the resourceGroupName property: The resource group name of the account that is set as the default.Set the scope property: The scope object ID.withScopeTenantId
(String scopeTenantId) Set the scopeTenantId property: The scope tenant in which the default account is set.withScopeType
(ScopeType scopeType) Set the scopeType property: The scope where the default account is set.withSubscriptionId
(String subscriptionId) Set the subscriptionId property: The subscription ID of the account that is set as the default.
-
Constructor Details
-
DefaultAccountPayloadInner
public DefaultAccountPayloadInner()Creates an instance of DefaultAccountPayloadInner class.
-
-
Method Details
-
accountName
Get the accountName property: The name of the account that is set as the default.- Returns:
- the accountName value.
-
withAccountName
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
Get the resourceGroupName property: The resource group name of the account that is set as the default.- Returns:
- the resourceGroupName value.
-
withResourceGroupName
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
Get the scope property: The scope object ID. For example, sub ID or tenant ID.- Returns:
- the scope value.
-
withScope
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
Get the scopeTenantId property: The scope tenant in which the default account is set.- Returns:
- the scopeTenantId value.
-
withScopeTenantId
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
Get the scopeType property: The scope where the default account is set.- Returns:
- the scopeType value.
-
withScopeType
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
Get the subscriptionId property: The subscription ID of the account that is set as the default.- Returns:
- the subscriptionId value.
-
withSubscriptionId
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.
-