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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Principal.Builderaccess(String access)Whether to allow or deny document access to the principal.Principal.Builderaccess(ReadAccessType access)Whether to allow or deny document access to the principal.Principal.BuilderdataSourceId(String dataSourceId)The identifier of the data source the principal should access documents from.Principal.Buildername(String name)The name of the user or group.Principal.Buildertype(String type)The type of principal.Principal.Buildertype(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 Detail
-
name
Principal.Builder name(String 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
Principal.Builder type(String 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:
PrincipalType,PrincipalType
-
type
Principal.Builder type(PrincipalType 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:
PrincipalType,PrincipalType
-
access
Principal.Builder access(String 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:
ReadAccessType,ReadAccessType
-
access
Principal.Builder access(ReadAccessType 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:
ReadAccessType,ReadAccessType
-
dataSourceId
Principal.Builder dataSourceId(String 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.
-
-