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 Details

    • 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 the IamIdentity.Builder avoiding the need to create one manually via IamIdentity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to iamIdentity(IamIdentity).

      Parameters:
      iamIdentity - a consumer that will call methods on IamIdentity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: