Interface AssociatePermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociatePermissionRequest.Builder,
,AssociatePermissionRequest> QBusinessRequest.Builder
,SdkBuilder<AssociatePermissionRequest.Builder,
,AssociatePermissionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociatePermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe list of Amazon Q Business actions that the ISV is allowed to perform.actions
(Collection<String> actions) The list of Amazon Q Business actions that the ISV is allowed to perform.applicationId
(String applicationId) The unique identifier of the Amazon Q Business application.conditions
(Collection<PermissionCondition> conditions) The conditions that restrict when the permission is effective.conditions
(Consumer<PermissionCondition.Builder>... conditions) The conditions that restrict when the permission is effective.conditions
(PermissionCondition... conditions) The conditions that restrict when the permission is effective.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name of the IAM role for the ISV that is being granted permission.statementId
(String statementId) A unique identifier for the policy statement.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.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The unique identifier of the Amazon Q Business application.
- Parameters:
applicationId
- The unique identifier of the Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statementId
A unique identifier for the policy statement.
- Parameters:
statementId
- A unique identifier for the policy statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The list of Amazon Q Business actions that the ISV is allowed to perform.
- Parameters:
actions
- The list of Amazon Q Business actions that the ISV is allowed to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The list of Amazon Q Business actions that the ISV is allowed to perform.
- Parameters:
actions
- The list of Amazon Q Business actions that the ISV is allowed to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that restrict when the permission is effective. These conditions can be used to limit the permission based on specific attributes of the request.
- Parameters:
conditions
- The conditions that restrict when the permission is effective. These conditions can be used to limit the permission based on specific attributes of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that restrict when the permission is effective. These conditions can be used to limit the permission based on specific attributes of the request.
- Parameters:
conditions
- The conditions that restrict when the permission is effective. These conditions can be used to limit the permission based on specific attributes of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that restrict when the permission is effective. These conditions can be used to limit the permission based on specific attributes of the request.
This is a convenience method that creates an instance of thePermissionCondition.Builder
avoiding the need to create one manually viaPermissionCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditions(List<PermissionCondition>)
.- Parameters:
conditions
- a consumer that will call methods onPermissionCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principal
The Amazon Resource Name of the IAM role for the ISV that is being granted permission.
- Parameters:
principal
- The Amazon Resource Name of the IAM role for the ISV that is being granted permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociatePermissionRequest.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
AssociatePermissionRequest.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.
-