Interface IamPrincipal.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IamPrincipal.Builder,
,IamPrincipal> SdkBuilder<IamPrincipal.Builder,
IamPrincipal>
- All Known Implementing Classes:
DefaultIamPrincipal.Builder
- Enclosing interface:
IamPrincipal
public static interface IamPrincipal.Builder
extends CopyableBuilder<IamPrincipal.Builder,IamPrincipal>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSet the identifier of the principal.Set theIamPrincipalType
associated with this principal.type
(IamPrincipalType type) Set theIamPrincipalType
associated with this principal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Method Details
-
type
Set theIamPrincipalType
associated with this principal.This value is required.
- See Also:
-
type
Set theIamPrincipalType
associated with this principal.This is the same as
type(IamPrincipalType)
, except you do not need to callIamPrincipalType.create()
. This value is required.- See Also:
-
id
Set the identifier of the principal.The identifiers that can be used depend on the
type(IamPrincipalType)
of the principal.- See Also:
-