#[non_exhaustive]pub struct GetWorkerOutputBuilder { /* private fields */ }Expand description
A builder for GetWorkerOutput.
Implementations§
source§impl GetWorkerOutputBuilder
impl GetWorkerOutputBuilder
sourcepub fn worker_id(self, input: impl Into<String>) -> Self
pub fn worker_id(self, input: impl Into<String>) -> Self
The worker ID.
This field is required.sourcepub fn set_worker_id(self, input: Option<String>) -> Self
pub fn set_worker_id(self, input: Option<String>) -> Self
The worker ID.
sourcepub fn get_worker_id(&self) -> &Option<String>
pub fn get_worker_id(&self) -> &Option<String>
The worker ID.
sourcepub fn set_farm_id(self, input: Option<String>) -> Self
pub fn set_farm_id(self, input: Option<String>) -> Self
The farm ID.
sourcepub fn get_farm_id(&self) -> &Option<String>
pub fn get_farm_id(&self) -> &Option<String>
The farm ID.
sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
The fleet ID.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
The fleet ID.
sourcepub fn host_properties(self, input: HostPropertiesResponse) -> Self
pub fn host_properties(self, input: HostPropertiesResponse) -> Self
The host properties for the worker.
sourcepub fn set_host_properties(self, input: Option<HostPropertiesResponse>) -> Self
pub fn set_host_properties(self, input: Option<HostPropertiesResponse>) -> Self
The host properties for the worker.
sourcepub fn get_host_properties(&self) -> &Option<HostPropertiesResponse>
pub fn get_host_properties(&self) -> &Option<HostPropertiesResponse>
The host properties for the worker.
sourcepub fn status(self, input: WorkerStatus) -> Self
pub fn status(self, input: WorkerStatus) -> Self
The status of the worker.
This field is required.sourcepub fn set_status(self, input: Option<WorkerStatus>) -> Self
pub fn set_status(self, input: Option<WorkerStatus>) -> Self
The status of the worker.
sourcepub fn get_status(&self) -> &Option<WorkerStatus>
pub fn get_status(&self) -> &Option<WorkerStatus>
The status of the worker.
sourcepub fn log(self, input: LogConfiguration) -> Self
pub fn log(self, input: LogConfiguration) -> Self
The logs for the associated worker.
sourcepub fn set_log(self, input: Option<LogConfiguration>) -> Self
pub fn set_log(self, input: Option<LogConfiguration>) -> Self
The logs for the associated worker.
sourcepub fn get_log(&self) -> &Option<LogConfiguration>
pub fn get_log(&self) -> &Option<LogConfiguration>
The logs for the associated worker.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the resource was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the resource was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user or system that created this resource.
This field is required.sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user or system that created this resource.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user or system that created this resource.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time the resource was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time the resource was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The user or system that updated this resource.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The user or system that updated this resource.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The user or system that updated this resource.
sourcepub fn build(self) -> Result<GetWorkerOutput, BuildError>
pub fn build(self) -> Result<GetWorkerOutput, BuildError>
Consumes the builder and constructs a GetWorkerOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetWorkerOutputBuilder
impl Clone for GetWorkerOutputBuilder
source§fn clone(&self) -> GetWorkerOutputBuilder
fn clone(&self) -> GetWorkerOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetWorkerOutputBuilder
impl Debug for GetWorkerOutputBuilder
source§impl Default for GetWorkerOutputBuilder
impl Default for GetWorkerOutputBuilder
source§fn default() -> GetWorkerOutputBuilder
fn default() -> GetWorkerOutputBuilder
source§impl PartialEq for GetWorkerOutputBuilder
impl PartialEq for GetWorkerOutputBuilder
source§fn eq(&self, other: &GetWorkerOutputBuilder) -> bool
fn eq(&self, other: &GetWorkerOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.