Interface AutomatedReasoningPolicyBuildStepContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyBuildStepContext.Builder,
,AutomatedReasoningPolicyBuildStepContext> SdkBuilder<AutomatedReasoningPolicyBuildStepContext.Builder,
,AutomatedReasoningPolicyBuildStepContext> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyBuildStepContext
-
Method Summary
Modifier and TypeMethodDescriptionIndicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.mutation
(AutomatedReasoningPolicyMutation mutation) Indicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.Indicates that this build step was part of the planning phase, where the system determines what operations to perform.planning
(AutomatedReasoningPolicyPlanning planning) Indicates that this build step was part of the planning phase, where the system determines what operations to perform.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
-
planning
AutomatedReasoningPolicyBuildStepContext.Builder planning(AutomatedReasoningPolicyPlanning planning) Indicates that this build step was part of the planning phase, where the system determines what operations to perform.
- Parameters:
planning
- Indicates that this build step was part of the planning phase, where the system determines what operations to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planning
default AutomatedReasoningPolicyBuildStepContext.Builder planning(Consumer<AutomatedReasoningPolicyPlanning.Builder> planning) Indicates that this build step was part of the planning phase, where the system determines what operations to perform.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyPlanning.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyPlanning.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplanning(AutomatedReasoningPolicyPlanning)
.- Parameters:
planning
- a consumer that will call methods onAutomatedReasoningPolicyPlanning.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mutation
AutomatedReasoningPolicyBuildStepContext.Builder mutation(AutomatedReasoningPolicyMutation mutation) Indicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.
- Parameters:
mutation
- Indicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutation
default AutomatedReasoningPolicyBuildStepContext.Builder mutation(Consumer<AutomatedReasoningPolicyMutation.Builder> mutation) Indicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyMutation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyMutation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomutation(AutomatedReasoningPolicyMutation)
.- Parameters:
mutation
- a consumer that will call methods onAutomatedReasoningPolicyMutation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-