Interface AutomatedReasoningPolicyBuildStep.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyBuildStep.Builder,AutomatedReasoningPolicyBuildStep>,SdkBuilder<AutomatedReasoningPolicyBuildStep.Builder,AutomatedReasoningPolicyBuildStep>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyBuildStep
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyBuildStep.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyBuildStep.Builder,AutomatedReasoningPolicyBuildStep>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomatedReasoningPolicyBuildStep.Buildercontext(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.AutomatedReasoningPolicyBuildStep.Buildercontext(AutomatedReasoningPolicyBuildStepContext context)Contextual information about what was being processed during this build step, such as the type of operation or the source material being analyzed.AutomatedReasoningPolicyBuildStep.Buildermessages(Collection<AutomatedReasoningPolicyBuildStepMessage> messages)A list of messages generated during this build step, including informational messages, warnings, and error details.AutomatedReasoningPolicyBuildStep.Buildermessages(Consumer<AutomatedReasoningPolicyBuildStepMessage.Builder>... messages)A list of messages generated during this build step, including informational messages, warnings, and error details.AutomatedReasoningPolicyBuildStep.Buildermessages(AutomatedReasoningPolicyBuildStepMessage... messages)A list of messages generated during this build step, including informational messages, warnings, and error details.default AutomatedReasoningPolicyBuildStep.BuilderpriorElement(Consumer<AutomatedReasoningPolicyDefinitionElement.Builder> priorElement)Reference to the previous element or step in the build process, helping to trace the sequence of operations.AutomatedReasoningPolicyBuildStep.BuilderpriorElement(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 Detail
-
context
AutomatedReasoningPolicyBuildStep.Builder context(AutomatedReasoningPolicyBuildStepContext 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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyBuildStepContext.builder().When the
Consumercompletes,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:
context(AutomatedReasoningPolicyBuildStepContext)
-
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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionElement.builder().When the
Consumercompletes,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:
priorElement(AutomatedReasoningPolicyDefinitionElement)
-
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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyBuildStepMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#messages(List.) - 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:
#messages(java.util.Collection)
-
-