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 theIamPrincipalTypeassociated with this principal.type(IamPrincipalType type) Set theIamPrincipalTypeassociated with this principal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Method Details
-
type
Set theIamPrincipalTypeassociated with this principal.This value is required.
- See Also:
-
type
Set theIamPrincipalTypeassociated 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:
-