Interface RuleExecutionOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleExecutionOutput.Builder,RuleExecutionOutput>,SdkBuilder<RuleExecutionOutput.Builder,RuleExecutionOutput>,SdkPojo
- Enclosing class:
- RuleExecutionOutput
public static interface RuleExecutionOutput.Builder extends SdkPojo, CopyableBuilder<RuleExecutionOutput.Builder,RuleExecutionOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleExecutionOutput.BuilderexecutionResult(Consumer<RuleExecutionResult.Builder> executionResult)Execution result information listed in the output details for a rule execution.RuleExecutionOutput.BuilderexecutionResult(RuleExecutionResult executionResult)Execution result information listed in the output details for a rule execution.-
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
-
executionResult
RuleExecutionOutput.Builder executionResult(RuleExecutionResult executionResult)
Execution result information listed in the output details for a rule execution.
- Parameters:
executionResult- Execution result information listed in the output details for a rule execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionResult
default RuleExecutionOutput.Builder executionResult(Consumer<RuleExecutionResult.Builder> executionResult)
Execution result information listed in the output details for a rule execution.
This is a convenience method that creates an instance of theRuleExecutionResult.Builderavoiding the need to create one manually viaRuleExecutionResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionResult(RuleExecutionResult).- Parameters:
executionResult- a consumer that will call methods onRuleExecutionResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
executionResult(RuleExecutionResult)
-
-