Interface RuleExecution.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleExecution.Builder,
,RuleExecution> SdkBuilder<RuleExecution.Builder,
,RuleExecution> SdkPojo
- Enclosing class:
RuleExecution
public static interface RuleExecution.Builder
extends SdkPojo, CopyableBuilder<RuleExecution.Builder,RuleExecution>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleExecution.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 of the run of the rule.externalExecutionUrl
(String externalExecutionUrl) The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).lastStatusChange
(Instant lastStatusChange) The last status change of the rule.lastUpdatedBy
(String lastUpdatedBy) The ARN of the user who last changed the rule.ruleExecutionId
(String ruleExecutionId) The execution ID for the run of the rule.The status of the run of the rule, such as FAILED.status
(RuleExecutionStatus status) The status of the run of the rule, such as FAILED.A summary of the run of the rule.The system-generated token used to identify a unique request.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
-
ruleExecutionId
The execution ID for the run of the rule.
- Parameters:
ruleExecutionId
- The execution ID for the run of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the run of the rule, such as FAILED.
- Parameters:
status
- The status of the run of the rule, such as FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the run of the rule, such as FAILED.
- Parameters:
status
- The status of the run of the rule, such as FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
A summary of the run of the rule.
- Parameters:
summary
- A summary of the run of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastStatusChange
The last status change of the rule.
- Parameters:
lastStatusChange
- The last status change of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
token
The system-generated token used to identify a unique request.
- Parameters:
token
- The system-generated token used to identify a unique request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedBy
The ARN of the user who last changed the rule.
- Parameters:
lastUpdatedBy
- The ARN of the user who last changed the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalExecutionId
The external ID of the run of the rule.
- Parameters:
externalExecutionId
- The external ID of the run of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalExecutionUrl
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
- Parameters:
externalExecutionUrl
- The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).- 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:
-