Class WorkspaceIdentity
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.WorkspaceIdentity
-
public final class WorkspaceIdentity extends Object
Identity properties of the workspace resource.
-
-
Constructor Summary
Constructors Constructor Description WorkspaceIdentity()
Creates an instance of WorkspaceIdentity class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrincipalId()
Get the principalId property: The principal id of the identity.String
getTenantId()
Get the tenantId property: The client tenant id of the identity.String
getType()
Get the type property: The identity type.WorkspaceIdentity
setType(String type)
Set the type property: The identity type.
-
-
-
Method Detail
-
getType
public String getType()
Get the type property: The identity type. Currently the only supported type is 'SystemAssigned'.- Returns:
- the type value.
-
setType
public WorkspaceIdentity setType(String type)
Set the type property: The identity type. Currently the only supported type is 'SystemAssigned'.- Parameters:
type
- the type value to set.- Returns:
- the WorkspaceIdentity object itself.
-
getPrincipalId
public String getPrincipalId()
Get the principalId property: The principal id of the identity.- Returns:
- the principalId value.
-
getTenantId
public String getTenantId()
Get the tenantId property: The client tenant id of the identity.- Returns:
- the tenantId value.
-
-