Interface UserIdentity.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UserIdentity.Builder,UserIdentity>, SdkBuilder<UserIdentity.Builder,UserIdentity>, SdkPojo
Enclosing class:
UserIdentity

public static interface UserIdentity.Builder extends SdkPojo, CopyableBuilder<UserIdentity.Builder,UserIdentity>
  • Method Details

    • assumedRole

      UserIdentity.Builder assumedRole(AssumedRole assumedRole)

      If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

      Parameters:
      assumedRole - If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assumedRole

      default UserIdentity.Builder assumedRole(Consumer<AssumedRole.Builder> assumedRole)

      If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

      This is a convenience method that creates an instance of the AssumedRole.Builder avoiding the need to create one manually via AssumedRole.builder().

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

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

      UserIdentity.Builder awsAccount(AwsAccount awsAccount)

      If the action was performed using the credentials for another Amazon Web Services account, the details of that account.

      Parameters:
      awsAccount - If the action was performed using the credentials for another Amazon Web Services account, the details of that account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsAccount

      default UserIdentity.Builder awsAccount(Consumer<AwsAccount.Builder> awsAccount)

      If the action was performed using the credentials for another Amazon Web Services account, the details of that account.

      This is a convenience method that creates an instance of the AwsAccount.Builder avoiding the need to create one manually via AwsAccount.builder().

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

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

      UserIdentity.Builder awsService(AwsService awsService)

      If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service.

      Parameters:
      awsService - If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsService

      default UserIdentity.Builder awsService(Consumer<AwsService.Builder> awsService)

      If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service.

      This is a convenience method that creates an instance of the AwsService.Builder avoiding the need to create one manually via AwsService.builder().

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

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

      UserIdentity.Builder federatedUser(FederatedUser federatedUser)

      If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

      Parameters:
      federatedUser - If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • federatedUser

      default UserIdentity.Builder federatedUser(Consumer<FederatedUser.Builder> federatedUser)

      If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

      This is a convenience method that creates an instance of the FederatedUser.Builder avoiding the need to create one manually via FederatedUser.builder().

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

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

      UserIdentity.Builder iamUser(IamUser iamUser)

      If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.

      Parameters:
      iamUser - If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamUser

      default UserIdentity.Builder iamUser(Consumer<IamUser.Builder> iamUser)

      If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.

      This is a convenience method that creates an instance of the IamUser.Builder avoiding the need to create one manually via IamUser.builder().

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

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

      If the action was performed using the credentials for your Amazon Web Services account, the details of your account.

      Parameters:
      root - If the action was performed using the credentials for your Amazon Web Services account, the details of your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • root

      If the action was performed using the credentials for your Amazon Web Services account, the details of your account.

      This is a convenience method that creates an instance of the UserIdentityRoot.Builder avoiding the need to create one manually via UserIdentityRoot.builder().

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

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

      The type of entity that performed the action.

      Parameters:
      type - The type of entity that performed the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of entity that performed the action.

      Parameters:
      type - The type of entity that performed the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: