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.
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<ReportTaskRunnerHeartbeatInputBuilder> for ReportTaskRunnerHeartbeatInputBuilder
impl PartialEq<ReportTaskRunnerHeartbeatInputBuilder> 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 ==
.