Interface UserIdentity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserIdentity.Builder,,UserIdentity> SdkBuilder<UserIdentity.Builder,,UserIdentity> SdkPojo
- Enclosing class:
UserIdentity
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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.BuilderawsAccount(Consumer<AwsAccount.Builder> awsAccount) If the action was performed using the credentials for another Amazon Web Services account, the details of that account.awsAccount(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.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.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.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.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.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.root(UserIdentityRoot root) If the action was performed using the credentials for your Amazon Web Services account, the details of your account.The type of entity that performed the action.type(UserIdentityType type) The type of entity that performed the action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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
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:
-
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
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:
-
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
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:
-
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 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:
-
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:
-