#[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
impl StructuralPartialEq for PollForTaskInputBuilder
Auto Trait Implementations§
impl Freeze for PollForTaskInputBuilder
impl RefUnwindSafe for PollForTaskInputBuilder
impl Send for PollForTaskInputBuilder
impl Sync for PollForTaskInputBuilder
impl Unpin for PollForTaskInputBuilder
impl UnwindSafe for PollForTaskInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more