Interface UserContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserContext.Builder,
,UserContext> SdkBuilder<UserContext.Builder,
,UserContext> SdkPojo
- Enclosing class:
UserContext
public static interface UserContext.Builder
extends SdkPojo, CopyableBuilder<UserContext.Builder,UserContext>
-
Method Summary
Modifier and TypeMethodDescriptionThe domain associated with the user.default UserContext.Builder
iamIdentity
(Consumer<IamIdentity.Builder> iamIdentity) The IAM Identity details associated with the user.iamIdentity
(IamIdentity iamIdentity) The IAM Identity details associated with the user.userProfileArn
(String userProfileArn) The Amazon Resource Name (ARN) of the user's profile.userProfileName
(String userProfileName) The name of the user's profile.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 Details
-
userProfileArn
The Amazon Resource Name (ARN) of the user's profile.
- Parameters:
userProfileArn
- The Amazon Resource Name (ARN) of the user's profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfileName
The name of the user's profile.
- Parameters:
userProfileName
- The name of the user's profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The domain associated with the user.
- Parameters:
domainId
- The domain associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamIdentity
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
- Parameters:
iamIdentity
- The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamIdentity
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
This is a convenience method that creates an instance of theIamIdentity.Builder
avoiding the need to create one manually viaIamIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiamIdentity(IamIdentity)
.- Parameters:
iamIdentity
- a consumer that will call methods onIamIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-