Interface GetActivityTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetActivityTaskRequest.Builder,,GetActivityTaskRequest> SdkBuilder<GetActivityTaskRequest.Builder,,GetActivityTaskRequest> SdkPojo,SdkRequest.Builder,SfnRequest.Builder
- Enclosing class:
GetActivityTaskRequest
public static interface GetActivityTaskRequest.Builder
extends SfnRequest.Builder, SdkPojo, CopyableBuilder<GetActivityTaskRequest.Builder,GetActivityTaskRequest>
-
Method Summary
Modifier and TypeMethodDescriptionactivityArn(String activityArn) The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workerName(String workerName) You can provide an arbitrary name in order to identify the worker that the task is assigned to.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
Method Details
-
activityArn
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)
- Parameters:
activityArn- The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerName
You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.
- Parameters:
workerName- You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetActivityTaskRequest.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
GetActivityTaskRequest.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.
-