Struct aws_sdk_datapipeline::operation::report_task_runner_heartbeat::builders::ReportTaskRunnerHeartbeatInputBuilder
source · #[non_exhaustive]pub struct ReportTaskRunnerHeartbeatInputBuilder { /* private fields */ }
Expand description
A builder for ReportTaskRunnerHeartbeatInput
.
Implementations§
source§impl ReportTaskRunnerHeartbeatInputBuilder
impl ReportTaskRunnerHeartbeatInputBuilder
sourcepub fn taskrunner_id(self, input: impl Into<String>) -> Self
pub fn taskrunner_id(self, input: impl Into<String>) -> Self
The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.
This field is required.sourcepub fn set_taskrunner_id(self, input: Option<String>) -> Self
pub fn set_taskrunner_id(self, input: Option<String>) -> Self
The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.
sourcepub fn get_taskrunner_id(&self) -> &Option<String>
pub fn get_taskrunner_id(&self) -> &Option<String>
The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.
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
. 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
. 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
. 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 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 task runner.
sourcepub fn get_hostname(&self) -> &Option<String>
pub fn get_hostname(&self) -> &Option<String>
The public DNS name of the task runner.
sourcepub fn build(self) -> Result<ReportTaskRunnerHeartbeatInput, BuildError>
pub fn build(self) -> Result<ReportTaskRunnerHeartbeatInput, BuildError>
Consumes the builder and constructs a ReportTaskRunnerHeartbeatInput
.
source§impl ReportTaskRunnerHeartbeatInputBuilder
impl ReportTaskRunnerHeartbeatInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReportTaskRunnerHeartbeatInputBuilder
impl Clone for ReportTaskRunnerHeartbeatInputBuilder
source§fn clone(&self) -> ReportTaskRunnerHeartbeatInputBuilder
fn clone(&self) -> ReportTaskRunnerHeartbeatInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReportTaskRunnerHeartbeatInputBuilder
impl Default for ReportTaskRunnerHeartbeatInputBuilder
source§fn default() -> ReportTaskRunnerHeartbeatInputBuilder
fn default() -> ReportTaskRunnerHeartbeatInputBuilder
source§impl PartialEq for ReportTaskRunnerHeartbeatInputBuilder
impl PartialEq for ReportTaskRunnerHeartbeatInputBuilder
source§fn eq(&self, other: &ReportTaskRunnerHeartbeatInputBuilder) -> bool
fn eq(&self, other: &ReportTaskRunnerHeartbeatInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReportTaskRunnerHeartbeatInputBuilder
Auto Trait Implementations§
impl Freeze for ReportTaskRunnerHeartbeatInputBuilder
impl RefUnwindSafe for ReportTaskRunnerHeartbeatInputBuilder
impl Send for ReportTaskRunnerHeartbeatInputBuilder
impl Sync for ReportTaskRunnerHeartbeatInputBuilder
impl Unpin for ReportTaskRunnerHeartbeatInputBuilder
impl UnwindSafe for ReportTaskRunnerHeartbeatInputBuilder
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