Interface AutomatedReasoningPolicyBuildStepContext.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyBuildStepContext.Builder,AutomatedReasoningPolicyBuildStepContext>,SdkBuilder<AutomatedReasoningPolicyBuildStepContext.Builder,AutomatedReasoningPolicyBuildStepContext>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyBuildStepContext
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyBuildStepContext.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyBuildStepContext.Builder,AutomatedReasoningPolicyBuildStepContext>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomatedReasoningPolicyBuildStepContext.Buildermutation(Consumer<AutomatedReasoningPolicyMutation.Builder> mutation)Indicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.AutomatedReasoningPolicyBuildStepContext.Buildermutation(AutomatedReasoningPolicyMutation mutation)Indicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.default AutomatedReasoningPolicyBuildStepContext.Builderplanning(Consumer<AutomatedReasoningPolicyPlanning.Builder> planning)Indicates that this build step was part of the planning phase, where the system determines what operations to perform.AutomatedReasoningPolicyBuildStepContext.Builderplanning(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 Detail
-
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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyPlanning.builder().When the
Consumercompletes,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:
planning(AutomatedReasoningPolicyPlanning)
-
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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyMutation.builder().When the
Consumercompletes,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:
mutation(AutomatedReasoningPolicyMutation)
-
-