public final class DefaultAccountPayloadInner extends Object
Constructor and Description |
---|
DefaultAccountPayloadInner() |
Modifier and Type | Method and Description |
---|---|
String |
accountName()
Get the accountName property: The name of the account that is set as the default.
|
String |
resourceGroupName()
Get the resourceGroupName property: The resource group name of the account that is set as the default.
|
String |
scope()
Get the scope property: The scope object ID.
|
String |
scopeTenantId()
Get the scopeTenantId property: The scope tenant in which the default account is set.
|
ScopeType |
scopeType()
Get the scopeType property: The scope where the default account is set.
|
String |
subscriptionId()
Get the subscriptionId property: The subscription ID of the account that is set as the default.
|
void |
validate()
Validates the instance.
|
DefaultAccountPayloadInner |
withAccountName(String accountName)
Set the accountName property: The name of the account that is set as the default.
|
DefaultAccountPayloadInner |
withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: The resource group name of the account that is set as the default.
|
DefaultAccountPayloadInner |
withScope(String scope)
Set the scope property: The scope object ID.
|
DefaultAccountPayloadInner |
withScopeTenantId(String scopeTenantId)
Set the scopeTenantId property: The scope tenant in which the default account is set.
|
DefaultAccountPayloadInner |
withScopeType(ScopeType scopeType)
Set the scopeType property: The scope where the default account is set.
|
DefaultAccountPayloadInner |
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription ID of the account that is set as the default.
|
public String accountName()
public DefaultAccountPayloadInner withAccountName(String accountName)
accountName
- the accountName value to set.public String resourceGroupName()
public DefaultAccountPayloadInner withResourceGroupName(String resourceGroupName)
resourceGroupName
- the resourceGroupName value to set.public String scope()
public DefaultAccountPayloadInner withScope(String scope)
scope
- the scope value to set.public String scopeTenantId()
public DefaultAccountPayloadInner withScopeTenantId(String scopeTenantId)
scopeTenantId
- the scopeTenantId value to set.public ScopeType scopeType()
public DefaultAccountPayloadInner withScopeType(ScopeType scopeType)
scopeType
- the scopeType value to set.public String subscriptionId()
public DefaultAccountPayloadInner withSubscriptionId(String subscriptionId)
subscriptionId
- the subscriptionId value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.