Interface StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder,
,StartAutomatedReasoningPolicyBuildWorkflowRequest> SdkBuilder<StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder,
,StartAutomatedReasoningPolicyBuildWorkflowRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartAutomatedReasoningPolicyBuildWorkflowRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuildWorkflowType
(String buildWorkflowType) The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies).buildWorkflowType
(AutomatedReasoningPolicyBuildWorkflowType buildWorkflowType) The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies).clientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than once.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to start the build workflow.sourceContent
(Consumer<AutomatedReasoningPolicyBuildWorkflowSource.Builder> sourceContent) The source content for the build workflow, such as documents to analyze or repair instructions for existing policies.sourceContent
(AutomatedReasoningPolicyBuildWorkflowSource sourceContent) The source content for the build workflow, such as documents to analyze or repair instructions for existing policies.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
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 Details
-
policyArn
The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to start the build workflow.
- Parameters:
policyArn
- The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to start the build workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildWorkflowType
StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder buildWorkflowType(String buildWorkflowType) The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies).
- Parameters:
buildWorkflowType
- The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildWorkflowType
StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder buildWorkflowType(AutomatedReasoningPolicyBuildWorkflowType buildWorkflowType) The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies).
- Parameters:
buildWorkflowType
- The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder clientRequestToken(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.
- Parameters:
clientRequestToken
- A unique, case-sensitive identifier to ensure that the operation completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceContent
StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder sourceContent(AutomatedReasoningPolicyBuildWorkflowSource sourceContent) The source content for the build workflow, such as documents to analyze or repair instructions for existing policies.
- Parameters:
sourceContent
- The source content for the build workflow, such as documents to analyze or repair instructions for existing policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceContent
default StartAutomatedReasoningPolicyBuildWorkflowRequest.Builder sourceContent(Consumer<AutomatedReasoningPolicyBuildWorkflowSource.Builder> sourceContent) The source content for the build workflow, such as documents to analyze or repair instructions for existing policies.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyBuildWorkflowSource.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyBuildWorkflowSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceContent(AutomatedReasoningPolicyBuildWorkflowSource)
.- Parameters:
sourceContent
- a consumer that will call methods onAutomatedReasoningPolicyBuildWorkflowSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartAutomatedReasoningPolicyBuildWorkflowRequest.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
StartAutomatedReasoningPolicyBuildWorkflowRequest.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.
-