Interface RuleState.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RuleState.Builder,,- RuleState> - SdkBuilder<RuleState.Builder,,- RuleState> - SdkPojo
- Enclosing class:
- RuleState
- 
Method SummaryModifier and TypeMethodDescriptiondefault RuleState.BuildercurrentRevision(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.BuilderlatestExecution(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
ruleNameThe 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.
 
- 
currentRevisionThe 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.
 
- 
currentRevisionThe 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 on- RuleRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
latestExecutionRepresents 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.
 
- 
latestExecutionRepresents 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 on- RuleExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
entityUrlA 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.
 
- 
revisionUrlA 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.
 
 
-