Interface RuleExecutionOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleExecutionOutput.Builder,,RuleExecutionOutput> SdkBuilder<RuleExecutionOutput.Builder,,RuleExecutionOutput> SdkPojo
- Enclosing class:
RuleExecutionOutput
@Mutable
@NotThreadSafe
public static interface RuleExecutionOutput.Builder
extends SdkPojo, CopyableBuilder<RuleExecutionOutput.Builder,RuleExecutionOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleExecutionOutput.BuilderexecutionResult(Consumer<RuleExecutionResult.Builder> executionResult) Execution result information listed in the output details for a rule execution.executionResult(RuleExecutionResult executionResult) Execution result information listed in the output details for a rule execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-