Interface RuleState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleState.Builder,
,RuleState> SdkBuilder<RuleState.Builder,
,RuleState> SdkPojo
- Enclosing class:
RuleState
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleState.Builder
currentRevision
(Consumer<RuleRevision.Builder> currentRevision) The ID of the current revision of the artifact successfully worked on by the job.currentRevision
(RuleRevision currentRevision) The ID of the current revision of the artifact successfully worked on by the job.A URL link for more information about the state of the action, such as a details page.default RuleState.Builder
latestExecution
(Consumer<RuleExecution.Builder> latestExecution) Represents information about the latest run of an rule.latestExecution
(RuleExecution latestExecution) Represents information about the latest run of an rule.revisionUrl
(String revisionUrl) A URL link for more information about the revision, such as a commit details page.The name of 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
-
ruleName
The name of the rule.
- Parameters:
ruleName
- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRevision
The ID of the current revision of the artifact successfully worked on by the job.
- Parameters:
currentRevision
- The ID of the current revision of the artifact successfully worked on by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRevision
The ID of the current revision of the artifact successfully worked on by the job.
This is a convenience method that creates an instance of theRuleRevision.Builder
avoiding the need to create one manually viaRuleRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentRevision(RuleRevision)
.- Parameters:
currentRevision
- a consumer that will call methods onRuleRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestExecution
Represents information about the latest run of an rule.
- Parameters:
latestExecution
- Represents information about the latest run of an rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestExecution
Represents information about the latest run of an rule.
This is a convenience method that creates an instance of theRuleExecution.Builder
avoiding the need to create one manually viaRuleExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestExecution(RuleExecution)
.- Parameters:
latestExecution
- a consumer that will call methods onRuleExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityUrl
A URL link for more information about the state of the action, such as a details page.
- Parameters:
entityUrl
- A URL link for more information about the state of the action, such as a details page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionUrl
A URL link for more information about the revision, such as a commit details page.
- Parameters:
revisionUrl
- A URL link for more information about the revision, such as a commit details page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-