public static interface UserIdentity.Builder extends SdkPojo, CopyableBuilder<UserIdentity.Builder,UserIdentity>
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
UserIdentity.Builder |
awsAccount(AwsAccount awsAccount)
If the action was performed using the credentials for another Amazon Web Services account, the details of
that account.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
default UserIdentity.Builder |
root(Consumer<UserIdentityRoot.Builder> root)
If the action was performed using the credentials for your Amazon Web Services account, the details of your
account.
|
UserIdentity.Builder |
root(UserIdentityRoot root)
If the action was performed using the credentials for your Amazon Web Services account, the details of your
account.
|
UserIdentity.Builder |
type(String type)
The type of entity that performed the action.
|
UserIdentity.Builder |
type(UserIdentityType type)
The type of entity that performed the action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserIdentity.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.
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.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 that creates an instance of theAssumedRole.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).assumedRole - a consumer that will call methods on AssumedRole.BuilderassumedRole(AssumedRole)UserIdentity.Builder awsAccount(AwsAccount awsAccount)
If the action was performed using the credentials for another Amazon Web Services account, the details of that account.
awsAccount - If the action was performed using the credentials for another Amazon Web Services account, the details
of that account.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 that creates an instance of theAwsAccount.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).awsAccount - a consumer that will call methods on AwsAccount.BuilderawsAccount(AwsAccount)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.
awsService - If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service,
the name of the service.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 that creates an instance of theAwsService.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).awsService - a consumer that will call methods on AwsService.BuilderawsService(AwsService)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.
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.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 that creates an instance of theFederatedUser.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).federatedUser - a consumer that will call methods on FederatedUser.BuilderfederatedUser(FederatedUser)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.
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.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 that creates an instance of theIamUser.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).iamUser - a consumer that will call methods on IamUser.BuilderiamUser(IamUser)UserIdentity.Builder root(UserIdentityRoot root)
If the action was performed using the credentials for your Amazon Web Services account, the details of your account.
root - If the action was performed using the credentials for your Amazon Web Services account, the details of
your account.default UserIdentity.Builder root(Consumer<UserIdentityRoot.Builder> root)
If the action was performed using the credentials for your Amazon Web Services account, the details of your account.
This is a convenience that creates an instance of theUserIdentityRoot.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).root - a consumer that will call methods on UserIdentityRoot.Builderroot(UserIdentityRoot)UserIdentity.Builder type(String type)
The type of entity that performed the action.
type - The type of entity that performed the action.UserIdentityType,
UserIdentityTypeUserIdentity.Builder type(UserIdentityType type)
The type of entity that performed the action.
type - The type of entity that performed the action.UserIdentityType,
UserIdentityTypeCopyright © 2022. All rights reserved.