Interface AutomatedReasoningPolicyBuildWorkflowSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyBuildWorkflowSource.Builder,,AutomatedReasoningPolicyBuildWorkflowSource> SdkBuilder<AutomatedReasoningPolicyBuildWorkflowSource.Builder,,AutomatedReasoningPolicyBuildWorkflowSource> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyBuildWorkflowSource
-
Method Summary
Modifier and TypeMethodDescriptionpolicyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) An existing policy definition that serves as the starting point for the build workflow, typically used in policy repair or update scenarios.policyDefinition(AutomatedReasoningPolicyDefinition policyDefinition) An existing policy definition that serves as the starting point for the build workflow, typically used in policy repair or update scenarios.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyDefinition
AutomatedReasoningPolicyBuildWorkflowSource.Builder policyDefinition(AutomatedReasoningPolicyDefinition policyDefinition) An existing policy definition that serves as the starting point for the build workflow, typically used in policy repair or update scenarios.
- Parameters:
policyDefinition- An existing policy definition that serves as the starting point for the build workflow, typically used in policy repair or update scenarios.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinition
default AutomatedReasoningPolicyBuildWorkflowSource.Builder policyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) An existing policy definition that serves as the starting point for the build workflow, typically used in policy repair or update scenarios.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinition.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinition.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyWorkflowTypeContent.builder().When the
Consumercompletes,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:
-