Interface ActionState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ActionState.Builder,,ActionState> SdkBuilder<ActionState.Builder,,ActionState> SdkPojo
- Enclosing class:
ActionState
@Mutable
@NotThreadSafe
public static interface ActionState.Builder
extends SdkPojo, CopyableBuilder<ActionState.Builder,ActionState>
-
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) The name of the action.default ActionState.BuildercurrentRevision(Consumer<ActionRevision.Builder> currentRevision) Represents information about the version (or revision) of an action.currentRevision(ActionRevision currentRevision) Represents information about the version (or revision) of an action.A URL link for more information about the state of the action, such as a deployment group details page.default ActionState.BuilderlatestExecution(Consumer<ActionExecution.Builder> latestExecution) Represents information about the run of an action.latestExecution(ActionExecution latestExecution) Represents information about the run of an action.revisionUrl(String revisionUrl) A URL link for more information about the revision, such as a commit details page.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
actionName
The name of the action.
- Parameters:
actionName- The name of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRevision
Represents information about the version (or revision) of an action.
- Parameters:
currentRevision- Represents information about the version (or revision) of an action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRevision
Represents information about the version (or revision) of an action.
This is a convenience method that creates an instance of theActionRevision.Builderavoiding the need to create one manually viaActionRevision.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentRevision(ActionRevision).- Parameters:
currentRevision- a consumer that will call methods onActionRevision.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestExecution
Represents information about the run of an action.
- Parameters:
latestExecution- Represents information about the run of an action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestExecution
Represents information about the run of an action.
This is a convenience method that creates an instance of theActionExecution.Builderavoiding the need to create one manually viaActionExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolatestExecution(ActionExecution).- Parameters:
latestExecution- a consumer that will call methods onActionExecution.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 deployment group details page.
- Parameters:
entityUrl- A URL link for more information about the state of the action, such as a deployment group 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.
-