Interface UpdateActRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateActRequest.Builder,,UpdateActRequest> NovaActRequest.Builder,SdkBuilder<UpdateActRequest.Builder,,UpdateActRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateActRequest
@Mutable
@NotThreadSafe
public static interface UpdateActRequest.Builder
extends NovaActRequest.Builder, SdkPojo, CopyableBuilder<UpdateActRequest.Builder,UpdateActRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the act to update.default UpdateActRequest.Buildererror(Consumer<ActError.Builder> error) Error information to associate with the act, if applicable.Error information to associate with the act, if applicable.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of the session containing the act.The new status to set for the act.The new status to set for the act.workflowDefinitionName(String workflowDefinitionName) The name of the workflow definition containing the act.workflowRunId(String workflowRunId) The unique identifier of the workflow run containing the act.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.novaact.model.NovaActRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workflowDefinitionName
The name of the workflow definition containing the act.
- Parameters:
workflowDefinitionName- The name of the workflow definition containing the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowRunId
The unique identifier of the workflow run containing the act.
- Parameters:
workflowRunId- The unique identifier of the workflow run containing the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The unique identifier of the session containing the act.
- Parameters:
sessionId- The unique identifier of the session containing the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actId
The unique identifier of the act to update.
- Parameters:
actId- The unique identifier of the act to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The new status to set for the act.
- Parameters:
status- The new status to set for the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The new status to set for the act.
- Parameters:
status- The new status to set for the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
Error information to associate with the act, if applicable.
- Parameters:
error- Error information to associate with the act, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Error information to associate with the act, if applicable.
This is a convenience method that creates an instance of theActError.Builderavoiding the need to create one manually viaActError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ActError).- Parameters:
error- a consumer that will call methods onActError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateActRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateActRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-