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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UserIdentity.BuilderassumedRole(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.BuilderassumedRole(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.BuilderawsAccount(Consumer<AwsAccount.Builder> awsAccount)If the action was performed using the credentials for another Amazon Web Services account, the details of that account.UserIdentity.BuilderawsAccount(AwsAccount awsAccount)If the action was performed using the credentials for another Amazon Web Services account, the details of that account.default UserIdentity.BuilderawsService(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.UserIdentity.BuilderawsService(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.BuilderfederatedUser(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.BuilderfederatedUser(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.BuilderiamUser(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.BuilderiamUser(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.Builderroot(Consumer<UserIdentityRoot.Builder> root)If the action was performed using the credentials for your Amazon Web Services account, the details of your account.UserIdentity.Builderroot(UserIdentityRoot root)If the action was performed using the credentials for your Amazon Web Services account, the details of your account.UserIdentity.Buildertype(String type)The type of entity that performed the action.UserIdentity.Buildertype(UserIdentityType type)The type of entity that performed the action.-
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 Detail
-
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 theAssumedRole.Builderavoiding the need to create one manually viaAssumedRole.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassumedRole(AssumedRole).- Parameters:
assumedRole- a consumer that will call methods onAssumedRole.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
assumedRole(AssumedRole)
-
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 theAwsAccount.Builderavoiding the need to create one manually viaAwsAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsAccount(AwsAccount).- Parameters:
awsAccount- a consumer that will call methods onAwsAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
awsAccount(AwsAccount)
-
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 theAwsService.Builderavoiding the need to create one manually viaAwsService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsService(AwsService).- Parameters:
awsService- a consumer that will call methods onAwsService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
awsService(AwsService)
-
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 theFederatedUser.Builderavoiding the need to create one manually viaFederatedUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofederatedUser(FederatedUser).- Parameters:
federatedUser- a consumer that will call methods onFederatedUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
federatedUser(FederatedUser)
-
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 theIamUser.Builderavoiding the need to create one manually viaIamUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiamUser(IamUser).- Parameters:
iamUser- a consumer that will call methods onIamUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
iamUser(IamUser)
-
root
UserIdentity.Builder root(UserIdentityRoot 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
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 method that creates an instance of theUserIdentityRoot.Builderavoiding the need to create one manually viaUserIdentityRoot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroot(UserIdentityRoot).- Parameters:
root- a consumer that will call methods onUserIdentityRoot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
root(UserIdentityRoot)
-
type
UserIdentity.Builder type(String 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:
UserIdentityType,UserIdentityType
-
type
UserIdentity.Builder type(UserIdentityType 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:
UserIdentityType,UserIdentityType
-
-