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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleExecution.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails)Sets the value of the ErrorDetails property for this object.RuleExecution.BuildererrorDetails(ErrorDetails errorDetails)Sets the value of the ErrorDetails property for this object.RuleExecution.BuilderexternalExecutionId(String externalExecutionId)The external ID of the run of the rule.RuleExecution.BuilderexternalExecutionUrl(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).RuleExecution.BuilderlastStatusChange(Instant lastStatusChange)The last status change of the rule.RuleExecution.BuilderlastUpdatedBy(String lastUpdatedBy)The ARN of the user who last changed the rule.RuleExecution.BuilderruleExecutionId(String ruleExecutionId)The execution ID for the run of the rule.RuleExecution.Builderstatus(String status)The status of the run of the rule, such as FAILED.RuleExecution.Builderstatus(RuleExecutionStatus status)The status of the run of the rule, such as FAILED.RuleExecution.Buildersummary(String summary)A summary of the run of the rule.RuleExecution.Buildertoken(String token)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ruleExecutionId
RuleExecution.Builder ruleExecutionId(String 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
RuleExecution.Builder status(String 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:
RuleExecutionStatus,RuleExecutionStatus
-
status
RuleExecution.Builder status(RuleExecutionStatus 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:
RuleExecutionStatus,RuleExecutionStatus
-
summary
RuleExecution.Builder summary(String 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
RuleExecution.Builder lastStatusChange(Instant 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
RuleExecution.Builder token(String 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
RuleExecution.Builder lastUpdatedBy(String 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
RuleExecution.Builder externalExecutionId(String 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
RuleExecution.Builder 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).
- 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
RuleExecution.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 RuleExecution.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)
-
-