Interface AssociatePersonasToEntitiesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociatePersonasToEntitiesRequest.Builder,
,AssociatePersonasToEntitiesRequest> KendraRequest.Builder
,SdkBuilder<AssociatePersonasToEntitiesRequest.Builder,
,AssociatePersonasToEntitiesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociatePersonasToEntitiesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of your Amazon Kendra experience.The identifier of the index for your Amazon Kendra experience.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.personas
(Collection<EntityPersonaConfiguration> personas) The personas that define the specific permissions of users or groups in your IAM Identity Center identity source.personas
(Consumer<EntityPersonaConfiguration.Builder>... personas) The personas that define the specific permissions of users or groups in your IAM Identity Center identity source.personas
(EntityPersonaConfiguration... personas) The personas that define the specific permissions of users or groups in your IAM Identity Center identity source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The identifier of your Amazon Kendra experience.
- Parameters:
id
- The identifier of your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
The identifier of the index for your Amazon Kendra experience.
- Parameters:
indexId
- The identifier of the index for your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
personas
AssociatePersonasToEntitiesRequest.Builder personas(Collection<EntityPersonaConfiguration> personas) The personas that define the specific permissions of users or groups in your IAM Identity Center identity source. The available personas or access roles are
Owner
andViewer
. For more information on these personas, see Providing access to your search page.- Parameters:
personas
- The personas that define the specific permissions of users or groups in your IAM Identity Center identity source. The available personas or access roles areOwner
andViewer
. For more information on these personas, see Providing access to your search page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
personas
The personas that define the specific permissions of users or groups in your IAM Identity Center identity source. The available personas or access roles are
Owner
andViewer
. For more information on these personas, see Providing access to your search page.- Parameters:
personas
- The personas that define the specific permissions of users or groups in your IAM Identity Center identity source. The available personas or access roles areOwner
andViewer
. For more information on these personas, see Providing access to your search page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
personas
AssociatePersonasToEntitiesRequest.Builder personas(Consumer<EntityPersonaConfiguration.Builder>... personas) The personas that define the specific permissions of users or groups in your IAM Identity Center identity source. The available personas or access roles are
This is a convenience method that creates an instance of theOwner
andViewer
. For more information on these personas, see Providing access to your search page.EntityPersonaConfiguration.Builder
avoiding the need to create one manually viaEntityPersonaConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topersonas(List<EntityPersonaConfiguration>)
.- Parameters:
personas
- a consumer that will call methods onEntityPersonaConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssociatePersonasToEntitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociatePersonasToEntitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-