DefaultAccountPayloadInner Class
- java.
lang. Object - com.
azure. resourcemanager. purview. fluent. models. DefaultAccountPayloadInner
- com.
Implements
public final class DefaultAccountPayloadInner
implements JsonSerializable<DefaultAccountPayloadInner>
Payload to get and set the default account in the given scope.
Constructor Summary
| Constructor | Description |
|---|---|
| DefaultAccountPayloadInner() |
Creates an instance of Default |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
|
static
Default |
fromJson(JsonReader jsonReader)
Reads an instance of Default |
| String |
resourceGroupName()
Get the resource |
| String |
scope()
Get the scope property: The scope object ID. |
| String |
scopeTenantId()
Get the scope |
|
Scope |
scopeType()
Get the scope |
| String |
subscriptionId()
Get the subscription |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Default |
withAccountName(String accountName)
Set the account |
|
Default |
withResourceGroupName(String resourceGroupName)
Set the resource |
|
Default |
withScope(String scope)
Set the scope property: The scope object ID. |
|
Default |
withScopeTenantId(String scopeTenantId)
Set the scope |
|
Default |
withScopeType(ScopeType scopeType)
Set the scope |
|
Default |
withSubscriptionId(String subscriptionId)
Set the subscription |
Methods inherited from java.lang.Object
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:
fromJson
public static DefaultAccountPayloadInner fromJson(JsonReader jsonReader)
Reads an instance of DefaultAccountPayloadInner from the JsonReader.
Parameters:
Returns:
Throws:
resourceGroupName
public String resourceGroupName()
Get the resourceGroupName property: The resource group name of the account that is set as the default.
Returns:
scope
public String scope()
Get the scope property: The scope object ID. For example, sub ID or tenant ID.
Returns:
scopeTenantId
public String scopeTenantId()
Get the scopeTenantId property: The scope tenant in which the default account is set.
Returns:
scopeType
public ScopeType scopeType()
Get the scopeType property: The scope where the default account is set.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription ID of the account that is set as the default.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAccountName
public DefaultAccountPayloadInner withAccountName(String accountName)
Set the accountName property: The name of the account that is set as the default.
Parameters:
Returns:
withResourceGroupName
public DefaultAccountPayloadInner withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: The resource group name of the account that is set as the default.
Parameters:
Returns:
withScope
public DefaultAccountPayloadInner withScope(String scope)
Set the scope property: The scope object ID. For example, sub ID or tenant ID.
Parameters:
Returns:
withScopeTenantId
public DefaultAccountPayloadInner withScopeTenantId(String scopeTenantId)
Set the scopeTenantId property: The scope tenant in which the default account is set.
Parameters:
Returns:
withScopeType
public DefaultAccountPayloadInner withScopeType(ScopeType scopeType)
Set the scopeType property: The scope where the default account is set.
Parameters:
Returns:
withSubscriptionId
public DefaultAccountPayloadInner withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription ID of the account that is set as the default.
Parameters:
Returns: