#[non_exhaustive]pub struct PollForTaskInputBuilder { /* private fields */ }
Expand description
A builder for PollForTaskInput
.
Implementations§
source§impl PollForTaskInputBuilder
impl PollForTaskInputBuilder
sourcepub fn worker_group(self, input: impl Into<String>) -> Self
pub fn worker_group(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_worker_group(self, input: Option<String>) -> Self
pub fn set_worker_group(self, input: Option<String>) -> Self
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.
sourcepub fn get_worker_group(&self) -> &Option<String>
pub fn get_worker_group(&self) -> &Option<String>
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.
sourcepub fn hostname(self, input: impl Into<String>) -> Self
pub fn hostname(self, input: impl Into<String>) -> Self
The public DNS name of the calling task runner.
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
The public DNS name of the calling task runner.
sourcepub fn get_hostname(&self) -> &Option<String>
pub fn get_hostname(&self) -> &Option<String>
The public DNS name of the calling task runner.
sourcepub fn instance_identity(self, input: InstanceIdentity) -> Self
pub fn instance_identity(self, input: InstanceIdentity) -> Self
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.
sourcepub fn set_instance_identity(self, input: Option<InstanceIdentity>) -> Self
pub fn set_instance_identity(self, input: Option<InstanceIdentity>) -> Self
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.
sourcepub fn get_instance_identity(&self) -> &Option<InstanceIdentity>
pub fn get_instance_identity(&self) -> &Option<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.
sourcepub fn build(self) -> Result<PollForTaskInput, BuildError>
pub fn build(self) -> Result<PollForTaskInput, BuildError>
Consumes the builder and constructs a PollForTaskInput
.
source§impl PollForTaskInputBuilder
impl PollForTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PollForTaskOutput, SdkError<PollForTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PollForTaskOutput, SdkError<PollForTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PollForTaskInputBuilder
impl Clone for PollForTaskInputBuilder
source§fn clone(&self) -> PollForTaskInputBuilder
fn clone(&self) -> PollForTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PollForTaskInputBuilder
impl Debug for PollForTaskInputBuilder
source§impl Default for PollForTaskInputBuilder
impl Default for PollForTaskInputBuilder
source§fn default() -> PollForTaskInputBuilder
fn default() -> PollForTaskInputBuilder
source§impl PartialEq for PollForTaskInputBuilder
impl PartialEq for PollForTaskInputBuilder
source§fn eq(&self, other: &PollForTaskInputBuilder) -> bool
fn eq(&self, other: &PollForTaskInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.