Interface ActionState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActionState.Builder,
,ActionState> SdkBuilder<ActionState.Builder,
,ActionState> SdkPojo
- Enclosing class:
ActionState
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.Builder
currentRevision
(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.Builder
latestExecution
(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
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
-
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.Builder
avoiding the need to create one manually viaActionRevision.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaActionExecution.builder()
.When the
Consumer
completes,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.
-