Interface StopDurableExecutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StopDurableExecutionRequest.Builder,StopDurableExecutionRequest>,LambdaRequest.Builder,SdkBuilder<StopDurableExecutionRequest.Builder,StopDurableExecutionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StopDurableExecutionRequest
@Mutable @NotThreadSafe public static interface StopDurableExecutionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<StopDurableExecutionRequest.Builder,StopDurableExecutionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StopDurableExecutionRequest.BuilderdurableExecutionArn(String durableExecutionArn)The Amazon Resource Name (ARN) of the durable execution.default StopDurableExecutionRequest.Buildererror(Consumer<ErrorObject.Builder> error)Optional error details explaining why the execution is being stopped.StopDurableExecutionRequest.Buildererror(ErrorObject error)Optional error details explaining why the execution is being stopped.StopDurableExecutionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StopDurableExecutionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaRequest.Builder
build
-
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
-
durableExecutionArn
StopDurableExecutionRequest.Builder durableExecutionArn(String durableExecutionArn)
The Amazon Resource Name (ARN) of the durable execution.
- Parameters:
durableExecutionArn- The Amazon Resource Name (ARN) of the durable execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
StopDurableExecutionRequest.Builder error(ErrorObject error)
Optional error details explaining why the execution is being stopped.
- Parameters:
error- Optional error details explaining why the execution is being stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default StopDurableExecutionRequest.Builder error(Consumer<ErrorObject.Builder> error)
Optional error details explaining why the execution is being stopped.
This is a convenience method that creates an instance of theErrorObject.Builderavoiding the need to create one manually viaErrorObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorObject).- Parameters:
error- a consumer that will call methods onErrorObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(ErrorObject)
-
overrideConfiguration
StopDurableExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StopDurableExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-