Interface Principal.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Principal.Builder,
,Principal> SdkBuilder<Principal.Builder,
,Principal> SdkPojo
- Enclosing class:
Principal
public static interface Principal.Builder
extends SdkPojo, CopyableBuilder<Principal.Builder,Principal>
-
Method Summary
Modifier and TypeMethodDescriptionWhether to allow or deny document access to the principal.access
(ReadAccessType access) Whether to allow or deny document access to the principal.dataSourceId
(String dataSourceId) The identifier of the data source the principal should access documents from.The name of the user or group.The type of principal.type
(PrincipalType type) The type of principal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the user or group.
- Parameters:
name
- The name of the user or group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of principal.
- Parameters:
type
- The type of principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of principal.
- Parameters:
type
- The type of principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
access
Whether to allow or deny document access to the principal.
- Parameters:
access
- Whether to allow or deny document access to the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
access
Whether to allow or deny document access to the principal.
- Parameters:
access
- Whether to allow or deny document access to the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSourceId
The identifier of the data source the principal should access documents from.
- Parameters:
dataSourceId
- The identifier of the data source the principal should access documents from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-