Class DatabasePrincipalInner
java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.DatabasePrincipalInner
A class representing database principal entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappId()
Get the appId property: Application id - relevant only for application principal type.email()
Get the email property: Database principal email if exists.fqn()
Get the fqn property: Database principal fully qualified name.name()
Get the name property: Database principal name.role()
Get the role property: Database principal role.Get the tenantName property: The tenant name of the principal.type()
Get the type property: Database principal type.void
validate()
Validates the instance.Set the appId property: Application id - relevant only for application principal type.Set the email property: Database principal email if exists.Set the fqn property: Database principal fully qualified name.Set the name property: Database principal name.Set the role property: Database principal role.Set the type property: Database principal type.
-
Constructor Details
-
DatabasePrincipalInner
public DatabasePrincipalInner()
-
-
Method Details
-
role
Get the role property: Database principal role.- Returns:
- the role value.
-
withRole
Set the role property: Database principal role.- Parameters:
role
- the role value to set.- Returns:
- the DatabasePrincipalInner object itself.
-
name
Get the name property: Database principal name.- Returns:
- the name value.
-
withName
Set the name property: Database principal name.- Parameters:
name
- the name value to set.- Returns:
- the DatabasePrincipalInner object itself.
-
type
Get the type property: Database principal type.- Returns:
- the type value.
-
withType
Set the type property: Database principal type.- Parameters:
type
- the type value to set.- Returns:
- the DatabasePrincipalInner object itself.
-
fqn
Get the fqn property: Database principal fully qualified name.- Returns:
- the fqn value.
-
withFqn
Set the fqn property: Database principal fully qualified name.- Parameters:
fqn
- the fqn value to set.- Returns:
- the DatabasePrincipalInner object itself.
-
email
Get the email property: Database principal email if exists.- Returns:
- the email value.
-
withEmail
Set the email property: Database principal email if exists.- Parameters:
email
- the email value to set.- Returns:
- the DatabasePrincipalInner object itself.
-
appId
Get the appId property: Application id - relevant only for application principal type.- Returns:
- the appId value.
-
withAppId
Set the appId property: Application id - relevant only for application principal type.- Parameters:
appId
- the appId value to set.- Returns:
- the DatabasePrincipalInner object itself.
-
tenantName
Get the tenantName property: The tenant name of the principal.- Returns:
- the tenantName value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-