Interface DeliverToQBusinessAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeliverToQBusinessAction.Builder,DeliverToQBusinessAction>,SdkBuilder<DeliverToQBusinessAction.Builder,DeliverToQBusinessAction>,SdkPojo
- Enclosing class:
- DeliverToQBusinessAction
public static interface DeliverToQBusinessAction.Builder extends SdkPojo, CopyableBuilder<DeliverToQBusinessAction.Builder,DeliverToQBusinessAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeliverToQBusinessAction.BuilderactionFailurePolicy(String actionFailurePolicy)A policy that states what to do in the case of failure.DeliverToQBusinessAction.BuilderactionFailurePolicy(ActionFailurePolicy actionFailurePolicy)A policy that states what to do in the case of failure.DeliverToQBusinessAction.BuilderapplicationId(String applicationId)The unique identifier of the Amazon Q Business application instance where the email content will be delivered.DeliverToQBusinessAction.BuilderindexId(String indexId)The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.DeliverToQBusinessAction.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actionFailurePolicy
DeliverToQBusinessAction.Builder actionFailurePolicy(String actionFailurePolicy)
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.
- Parameters:
actionFailurePolicy- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionFailurePolicy,ActionFailurePolicy
-
actionFailurePolicy
DeliverToQBusinessAction.Builder actionFailurePolicy(ActionFailurePolicy actionFailurePolicy)
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.
- Parameters:
actionFailurePolicy- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionFailurePolicy,ActionFailurePolicy
-
applicationId
DeliverToQBusinessAction.Builder applicationId(String applicationId)
The unique identifier of the Amazon Q Business application instance where the email content will be delivered.
- Parameters:
applicationId- The unique identifier of the Amazon Q Business application instance where the email content will be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
DeliverToQBusinessAction.Builder indexId(String indexId)
The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.
- Parameters:
indexId- The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
DeliverToQBusinessAction.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business. This role must have access to the qbusiness:BatchPutDocument API for the given application and index.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business. This role must have access to the qbusiness:BatchPutDocument API for the given application and index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-