Class DefaultIamPrincipal.Builder
java.lang.Object
software.amazon.awssdk.policybuilder.iam.internal.DefaultIamPrincipal.Builder
- All Implemented Interfaces:
IamPrincipal.Builder
,Buildable
,CopyableBuilder<IamPrincipal.Builder,
,IamPrincipal> SdkBuilder<IamPrincipal.Builder,
IamPrincipal>
- Enclosing class:
DefaultIamPrincipal
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
An immutable object that is created from the properties that have been set on the builder.Set the identifier of the principal.Set theIamPrincipalType
associated with this principal.type
(IamPrincipalType type) Set theIamPrincipalType
associated with this principal.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
type
Description copied from interface:IamPrincipal.Builder
Set theIamPrincipalType
associated with this principal.This value is required.
- Specified by:
type
in interfaceIamPrincipal.Builder
- See Also:
-
type
Description copied from interface:IamPrincipal.Builder
Set theIamPrincipalType
associated with this principal.This is the same as
IamPrincipal.Builder.type(IamPrincipalType)
, except you do not need to callIamPrincipalType.create()
. This value is required.- Specified by:
type
in interfaceIamPrincipal.Builder
- See Also:
-
id
Description copied from interface:IamPrincipal.Builder
Set the identifier of the principal.The identifiers that can be used depend on the
IamPrincipal.Builder.type(IamPrincipalType)
of the principal.- Specified by:
id
in interfaceIamPrincipal.Builder
- See Also:
-
build
Description copied from interface:SdkBuilder
An immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<IamPrincipal.Builder,
IamPrincipal> - Returns:
- an instance of T
-