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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UserContext.BuilderdomainId(String domainId)The domain associated with the user.default UserContext.BuilderiamIdentity(Consumer<IamIdentity.Builder> iamIdentity)The IAM Identity details associated with the user.UserContext.BuilderiamIdentity(IamIdentity iamIdentity)The IAM Identity details associated with the user.UserContext.BuilderuserProfileArn(String userProfileArn)The Amazon Resource Name (ARN) of the user's profile.UserContext.BuilderuserProfileName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
userProfileArn
UserContext.Builder userProfileArn(String 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
UserContext.Builder userProfileName(String 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
UserContext.Builder domainId(String 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
UserContext.Builder iamIdentity(IamIdentity 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
default UserContext.Builder iamIdentity(Consumer<IamIdentity.Builder> 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.Builderavoiding the need to create one manually viaIamIdentity.builder().When the
Consumercompletes,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:
iamIdentity(IamIdentity)
-
-