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 theIamPrincipalTypeassociated with this principal.type(IamPrincipalType type) Set theIamPrincipalTypeassociated with this principal.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
type
Description copied from interface:IamPrincipal.BuilderSet theIamPrincipalTypeassociated with this principal.This value is required.
- Specified by:
typein interfaceIamPrincipal.Builder- See Also:
-
type
Description copied from interface:IamPrincipal.BuilderSet theIamPrincipalTypeassociated 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:
typein interfaceIamPrincipal.Builder- See Also:
-
id
Description copied from interface:IamPrincipal.BuilderSet the identifier of the principal.The identifiers that can be used depend on the
IamPrincipal.Builder.type(IamPrincipalType)of the principal.- Specified by:
idin interfaceIamPrincipal.Builder- See Also:
-
build
Description copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<IamPrincipal.Builder,IamPrincipal> - Returns:
- an instance of T
-