Interface RuleExecutionResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleExecutionResult.Builder,
,RuleExecutionResult> SdkBuilder<RuleExecutionResult.Builder,
,RuleExecutionResult> SdkPojo
- Enclosing class:
RuleExecutionResult
public static interface RuleExecutionResult.Builder
extends SdkPojo, CopyableBuilder<RuleExecutionResult.Builder,RuleExecutionResult>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleExecutionResult.Builder
errorDetails
(Consumer<ErrorDetails.Builder> errorDetails) Sets the value of the ErrorDetails property for this object.errorDetails
(ErrorDetails errorDetails) Sets the value of the ErrorDetails property for this object.externalExecutionId
(String externalExecutionId) The external ID for the rule execution.externalExecutionSummary
(String externalExecutionSummary) The external provider summary for the rule execution.externalExecutionUrl
(String externalExecutionUrl) The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the rule.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, sdkFields
-
Method Details
-
externalExecutionId
The external ID for the rule execution.
- Parameters:
externalExecutionId
- The external ID for the rule execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalExecutionSummary
The external provider summary for the rule execution.
- Parameters:
externalExecutionSummary
- The external provider summary for the rule execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalExecutionUrl
The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the rule.
- Parameters:
externalExecutionUrl
- The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Sets the value of the ErrorDetails property for this object.- Parameters:
errorDetails
- The new value for the ErrorDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Sets the value of the ErrorDetails property for this object. This is a convenience method that creates an instance of theErrorDetails.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetails(ErrorDetails)
.- Parameters:
errorDetails
- a consumer that will call methods onErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-