public static interface PollForTaskRequest.Builder extends DataPipelineRequest.Builder, CopyableBuilder<PollForTaskRequest.Builder,PollForTaskRequest>
Modifier and Type | Method and Description |
---|---|
PollForTaskRequest.Builder |
hostname(String hostname)
The public DNS name of the calling task runner.
|
default PollForTaskRequest.Builder |
instanceIdentity(Consumer<InstanceIdentity.Builder> instanceIdentity)
Identity information for the EC2 instance that is hosting the task runner.
|
PollForTaskRequest.Builder |
instanceIdentity(InstanceIdentity instanceIdentity)
Identity information for the EC2 instance that is hosting the task runner.
|
PollForTaskRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PollForTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PollForTaskRequest.Builder |
workerGroup(String workerGroup)
The type of task the task runner is configured to accept and process.
|
build
overrideConfiguration
copy
applyMutation, build
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
workerGroup
in the call to PollForTask
. There are no wildcard values permitted in
workerGroup
; the string must be an exact, case-sensitive, match.
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
workerGroup
in the call to PollForTask
. There are no wildcard values
permitted in workerGroup
; the string must be an exact, case-sensitive, match.PollForTaskRequest.Builder hostname(String hostname)
The public DNS name of the calling task runner.
hostname
- The public DNS name of the calling task runner.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.
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.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 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.
InstanceIdentity.Builder
avoiding the need to
create one manually via InstanceIdentity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to instanceIdentity(InstanceIdentity)
.instanceIdentity
- a consumer that will call methods on InstanceIdentity.Builder
instanceIdentity(InstanceIdentity)
PollForTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PollForTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.