Interface AutomatedReasoningPolicyBuildStep.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyBuildStep.Builder,
,AutomatedReasoningPolicyBuildStep> SdkBuilder<AutomatedReasoningPolicyBuildStep.Builder,
,AutomatedReasoningPolicyBuildStep> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyBuildStep
-
Method Summary
Modifier and TypeMethodDescriptionContextual information about what was being processed during this build step, such as the type of operation or the source material being analyzed.Contextual information about what was being processed during this build step, such as the type of operation or the source material being analyzed.A list of messages generated during this build step, including informational messages, warnings, and error details.messages
(Consumer<AutomatedReasoningPolicyBuildStepMessage.Builder>... messages) A list of messages generated during this build step, including informational messages, warnings, and error details.messages
(AutomatedReasoningPolicyBuildStepMessage... messages) A list of messages generated during this build step, including informational messages, warnings, and error details.Reference to the previous element or step in the build process, helping to trace the sequence of operations.priorElement
(AutomatedReasoningPolicyDefinitionElement priorElement) Reference to the previous element or step in the build process, helping to trace the sequence of operations.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
-
context
Contextual information about what was being processed during this build step, such as the type of operation or the source material being analyzed.
- Parameters:
context
- Contextual information about what was being processed during this build step, such as the type of operation or the source material being analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
default AutomatedReasoningPolicyBuildStep.Builder context(Consumer<AutomatedReasoningPolicyBuildStepContext.Builder> context) Contextual information about what was being processed during this build step, such as the type of operation or the source material being analyzed.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyBuildStepContext.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyBuildStepContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontext(AutomatedReasoningPolicyBuildStepContext)
.- Parameters:
context
- a consumer that will call methods onAutomatedReasoningPolicyBuildStepContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priorElement
AutomatedReasoningPolicyBuildStep.Builder priorElement(AutomatedReasoningPolicyDefinitionElement priorElement) Reference to the previous element or step in the build process, helping to trace the sequence of operations.
- Parameters:
priorElement
- Reference to the previous element or step in the build process, helping to trace the sequence of operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priorElement
default AutomatedReasoningPolicyBuildStep.Builder priorElement(Consumer<AutomatedReasoningPolicyDefinitionElement.Builder> priorElement) Reference to the previous element or step in the build process, helping to trace the sequence of operations.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionElement.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topriorElement(AutomatedReasoningPolicyDefinitionElement)
.- Parameters:
priorElement
- a consumer that will call methods onAutomatedReasoningPolicyDefinitionElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messages
AutomatedReasoningPolicyBuildStep.Builder messages(Collection<AutomatedReasoningPolicyBuildStepMessage> messages) A list of messages generated during this build step, including informational messages, warnings, and error details.
- Parameters:
messages
- A list of messages generated during this build step, including informational messages, warnings, and error details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
AutomatedReasoningPolicyBuildStep.Builder messages(AutomatedReasoningPolicyBuildStepMessage... messages) A list of messages generated during this build step, including informational messages, warnings, and error details.
- Parameters:
messages
- A list of messages generated during this build step, including informational messages, warnings, and error details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
AutomatedReasoningPolicyBuildStep.Builder messages(Consumer<AutomatedReasoningPolicyBuildStepMessage.Builder>... messages) A list of messages generated during this build step, including informational messages, warnings, and error details.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyBuildStepMessage.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyBuildStepMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomessages(List<AutomatedReasoningPolicyBuildStepMessage>)
.- Parameters:
messages
- a consumer that will call methods onAutomatedReasoningPolicyBuildStepMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-