Interface AutomatedReasoningPolicyBuildWorkflowSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyBuildWorkflowSource.Builder,
,AutomatedReasoningPolicyBuildWorkflowSource> SdkBuilder<AutomatedReasoningPolicyBuildWorkflowSource.Builder,
,AutomatedReasoningPolicyBuildWorkflowSource> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyBuildWorkflowSource
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyBuildWorkflowSource.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyBuildWorkflowSource.Builder,AutomatedReasoningPolicyBuildWorkflowSource>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyDefinition
(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) Sets the value of the PolicyDefinition property for this object.policyDefinition
(AutomatedReasoningPolicyDefinition policyDefinition) Sets the value of the PolicyDefinition property for this object.workflowContent
(Consumer<AutomatedReasoningPolicyWorkflowTypeContent.Builder> workflowContent) The actual content to be processed in the build workflow, such as documents to analyze or repair instructions to apply.workflowContent
(AutomatedReasoningPolicyWorkflowTypeContent workflowContent) The actual content to be processed in the build workflow, such as documents to analyze or repair instructions to apply.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
-
policyDefinition
AutomatedReasoningPolicyBuildWorkflowSource.Builder policyDefinition(AutomatedReasoningPolicyDefinition policyDefinition) Sets the value of the PolicyDefinition property for this object.- Parameters:
policyDefinition
- The new value for the PolicyDefinition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinition
default AutomatedReasoningPolicyBuildWorkflowSource.Builder policyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) Sets the value of the PolicyDefinition property for this object. This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinition.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyDefinition(AutomatedReasoningPolicyDefinition)
.- Parameters:
policyDefinition
- a consumer that will call methods onAutomatedReasoningPolicyDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowContent
AutomatedReasoningPolicyBuildWorkflowSource.Builder workflowContent(AutomatedReasoningPolicyWorkflowTypeContent workflowContent) The actual content to be processed in the build workflow, such as documents to analyze or repair instructions to apply.
- Parameters:
workflowContent
- The actual content to be processed in the build workflow, such as documents to analyze or repair instructions to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowContent
default AutomatedReasoningPolicyBuildWorkflowSource.Builder workflowContent(Consumer<AutomatedReasoningPolicyWorkflowTypeContent.Builder> workflowContent) The actual content to be processed in the build workflow, such as documents to analyze or repair instructions to apply.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyWorkflowTypeContent.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyWorkflowTypeContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflowContent(AutomatedReasoningPolicyWorkflowTypeContent)
.- Parameters:
workflowContent
- a consumer that will call methods onAutomatedReasoningPolicyWorkflowTypeContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-