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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleExecutionResult.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails)Sets the value of the ErrorDetails property for this object.RuleExecutionResult.BuildererrorDetails(ErrorDetails errorDetails)Sets the value of the ErrorDetails property for this object.RuleExecutionResult.BuilderexternalExecutionId(String externalExecutionId)The external ID for the rule execution.RuleExecutionResult.BuilderexternalExecutionSummary(String externalExecutionSummary)The external provider summary for the rule execution.RuleExecutionResult.BuilderexternalExecutionUrl(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
externalExecutionId
RuleExecutionResult.Builder externalExecutionId(String 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
RuleExecutionResult.Builder externalExecutionSummary(String 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
RuleExecutionResult.Builder 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.
- 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
RuleExecutionResult.Builder errorDetails(ErrorDetails 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
default RuleExecutionResult.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
Sets the value of the ErrorDetails property for this object. This is a convenience method that creates an instance of theErrorDetails.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,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:
errorDetails(ErrorDetails)
-
-