Interface PollForTaskRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PollForTaskRequest.Builder,PollForTaskRequest>,DataPipelineRequest.Builder,SdkBuilder<PollForTaskRequest.Builder,PollForTaskRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PollForTaskRequest
public static interface PollForTaskRequest.Builder extends DataPipelineRequest.Builder, SdkPojo, CopyableBuilder<PollForTaskRequest.Builder,PollForTaskRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PollForTaskRequest.Builderhostname(String hostname)The public DNS name of the calling task runner.default PollForTaskRequest.BuilderinstanceIdentity(Consumer<InstanceIdentity.Builder> instanceIdentity)Identity information for the EC2 instance that is hosting the task runner.PollForTaskRequest.BuilderinstanceIdentity(InstanceIdentity instanceIdentity)Identity information for the EC2 instance that is hosting the task runner.PollForTaskRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PollForTaskRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PollForTaskRequest.BuilderworkerGroup(String workerGroup)The type of task the task runner is configured to accept and process.-
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.datapipeline.model.DataPipelineRequest.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
-
workerGroup
PollForTaskRequest.Builder workerGroup(String workerGroup)
The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for
workerGroupin the call toPollForTask. There are no wildcard values permitted inworkerGroup; the string must be an exact, case-sensitive, match.- Parameters:
workerGroup- The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value forworkerGroupin the call toPollForTask. There are no wildcard values permitted inworkerGroup; the string must be an exact, case-sensitive, match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostname
PollForTaskRequest.Builder hostname(String hostname)
The public DNS name of the calling task runner.
- Parameters:
hostname- The public DNS name of the calling task runner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIdentity
PollForTaskRequest.Builder instanceIdentity(InstanceIdentity instanceIdentity)
Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance using
http://169.254.169.254/latest/meta-data/instance-id. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.- Parameters:
instanceIdentity- Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance usinghttp://169.254.169.254/latest/meta-data/instance-id. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIdentity
default PollForTaskRequest.Builder instanceIdentity(Consumer<InstanceIdentity.Builder> instanceIdentity)
Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance using
This is a convenience method that creates an instance of thehttp://169.254.169.254/latest/meta-data/instance-id. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.InstanceIdentity.Builderavoiding the need to create one manually viaInstanceIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceIdentity(InstanceIdentity).- Parameters:
instanceIdentity- a consumer that will call methods onInstanceIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceIdentity(InstanceIdentity)
-
overrideConfiguration
PollForTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PollForTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-