Interface RuleState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleState.Builder,RuleState>,SdkBuilder<RuleState.Builder,RuleState>,SdkPojo
- Enclosing class:
- RuleState
public static interface RuleState.Builder extends SdkPojo, CopyableBuilder<RuleState.Builder,RuleState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleState.BuildercurrentRevision(Consumer<RuleRevision.Builder> currentRevision)The ID of the current revision of the artifact successfully worked on by the job.RuleState.BuildercurrentRevision(RuleRevision currentRevision)The ID of the current revision of the artifact successfully worked on by the job.RuleState.BuilderentityUrl(String entityUrl)A URL link for more information about the state of the action, such as a details page.default RuleState.BuilderlatestExecution(Consumer<RuleExecution.Builder> latestExecution)Represents information about the latest run of an rule.RuleState.BuilderlatestExecution(RuleExecution latestExecution)Represents information about the latest run of an rule.RuleState.BuilderrevisionUrl(String revisionUrl)A URL link for more information about the revision, such as a commit details page.RuleState.BuilderruleName(String ruleName)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ruleName
RuleState.Builder ruleName(String 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
RuleState.Builder currentRevision(RuleRevision 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
default RuleState.Builder currentRevision(Consumer<RuleRevision.Builder> 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.Builderavoiding the need to create one manually viaRuleRevision.builder().When the
Consumercompletes,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:
currentRevision(RuleRevision)
-
latestExecution
RuleState.Builder latestExecution(RuleExecution 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
default RuleState.Builder latestExecution(Consumer<RuleExecution.Builder> latestExecution)
Represents information about the latest run of an rule.
This is a convenience method that creates an instance of theRuleExecution.Builderavoiding the need to create one manually viaRuleExecution.builder().When the
Consumercompletes,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:
latestExecution(RuleExecution)
-
entityUrl
RuleState.Builder entityUrl(String 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
RuleState.Builder revisionUrl(String 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.
-
-