public static interface Principal.Builder extends SdkPojo, CopyableBuilder<Principal.Builder,Principal>
| Modifier and Type | Method and Description |
|---|---|
Principal.Builder |
access(ReadAccessType access)
Whether to allow or deny document access to the principal.
|
Principal.Builder |
access(String access)
Whether to allow or deny document access to the principal.
|
Principal.Builder |
dataSourceId(String dataSourceId)
The identifier of the data source the principal should access documents from.
|
Principal.Builder |
name(String name)
The name of the user or group.
|
Principal.Builder |
type(PrincipalType type)
The type of principal.
|
Principal.Builder |
type(String type)
The type of principal.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPrincipal.Builder name(String name)
The name of the user or group.
name - The name of the user or group.Principal.Builder type(String type)
The type of principal.
type - The type of principal.PrincipalType,
PrincipalTypePrincipal.Builder type(PrincipalType type)
The type of principal.
type - The type of principal.PrincipalType,
PrincipalTypePrincipal.Builder access(String access)
Whether to allow or deny document access to the principal.
access - Whether to allow or deny document access to the principal.ReadAccessType,
ReadAccessTypePrincipal.Builder access(ReadAccessType access)
Whether to allow or deny document access to the principal.
access - Whether to allow or deny document access to the principal.ReadAccessType,
ReadAccessTypePrincipal.Builder dataSourceId(String dataSourceId)
The identifier of the data source the principal should access documents from.
dataSourceId - The identifier of the data source the principal should access documents from.Copyright © 2023. All rights reserved.