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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ActionState.BuilderactionName(String actionName)The name of the action.default ActionState.BuildercurrentRevision(Consumer<ActionRevision.Builder> currentRevision)Represents information about the version (or revision) of an action.ActionState.BuildercurrentRevision(ActionRevision currentRevision)Represents information about the version (or revision) of an action.ActionState.BuilderentityUrl(String entityUrl)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.ActionState.BuilderlatestExecution(ActionExecution latestExecution)Represents information about the run of an action.ActionState.BuilderrevisionUrl(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actionName
ActionState.Builder actionName(String 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
ActionState.Builder currentRevision(ActionRevision 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
default ActionState.Builder currentRevision(Consumer<ActionRevision.Builder> 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:
currentRevision(ActionRevision)
-
latestExecution
ActionState.Builder latestExecution(ActionExecution 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
default ActionState.Builder latestExecution(Consumer<ActionExecution.Builder> 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:
latestExecution(ActionExecution)
-
entityUrl
ActionState.Builder entityUrl(String 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
ActionState.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.
-
-