Interface GetIdentityContextRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetIdentityContextRequest.Builder,,GetIdentityContextRequest> QuickSightRequest.Builder,SdkBuilder<GetIdentityContextRequest.Builder,,GetIdentityContextRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetIdentityContextRequest
@Mutable
@NotThreadSafe
public static interface GetIdentityContextRequest.Builder
extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<GetIdentityContextRequest.Builder,GetIdentityContextRequest>
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID for the Amazon Web Services account that the user whose identity context you want to retrieve is in.The namespace of the user that you want to get identity context for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sessionExpiresAt(Instant sessionExpiresAt) The timestamp at which the session will expire.userIdentifier(Consumer<UserIdentifier.Builder> userIdentifier) The identifier for the user whose identity context you want to retrieve.userIdentifier(UserIdentifier userIdentifier) The identifier for the user whose identity context you want to retrieve.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID for the Amazon Web Services account that the user whose identity context you want to retrieve is in. Currently, you use the ID for the Amazon Web Services account that contains your Quick Sight account.
- Parameters:
awsAccountId- The ID for the Amazon Web Services account that the user whose identity context you want to retrieve is in. Currently, you use the ID for the Amazon Web Services account that contains your Quick Sight account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIdentifier
The identifier for the user whose identity context you want to retrieve.
- Parameters:
userIdentifier- The identifier for the user whose identity context you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIdentifier
default GetIdentityContextRequest.Builder userIdentifier(Consumer<UserIdentifier.Builder> userIdentifier) The identifier for the user whose identity context you want to retrieve.
This is a convenience method that creates an instance of theUserIdentifier.Builderavoiding the need to create one manually viaUserIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserIdentifier(UserIdentifier).- Parameters:
userIdentifier- a consumer that will call methods onUserIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace of the user that you want to get identity context for. This parameter is required when the UserIdentifier is specified using Email or UserName.
- Parameters:
namespace- The namespace of the user that you want to get identity context for. This parameter is required when the UserIdentifier is specified using Email or UserName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionExpiresAt
The timestamp at which the session will expire.
- Parameters:
sessionExpiresAt- The timestamp at which the session will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetIdentityContextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetIdentityContextRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-