#[non_exhaustive]pub struct CreateWorkerInputBuilder { /* private fields */ }Expand description
A builder for CreateWorkerInput.
Implementations§
source§impl CreateWorkerInputBuilder
impl CreateWorkerInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
sourcepub fn additional_transient_properties(self, input: impl Into<String>) -> Self
pub fn additional_transient_properties(self, input: impl Into<String>) -> Self
JSON blob containing unstructured worker properties that are transient and may change during regular operation.
sourcepub fn set_additional_transient_properties(self, input: Option<String>) -> Self
pub fn set_additional_transient_properties(self, input: Option<String>) -> Self
JSON blob containing unstructured worker properties that are transient and may change during regular operation.
sourcepub fn get_additional_transient_properties(&self) -> &Option<String>
pub fn get_additional_transient_properties(&self) -> &Option<String>
JSON blob containing unstructured worker properties that are transient and may change during regular operation.
sourcepub fn additional_fixed_properties(self, input: impl Into<String>) -> Self
pub fn additional_fixed_properties(self, input: impl Into<String>) -> Self
JSON blob containing unstructured worker properties that are fixed and won’t change during regular operation.
sourcepub fn set_additional_fixed_properties(self, input: Option<String>) -> Self
pub fn set_additional_fixed_properties(self, input: Option<String>) -> Self
JSON blob containing unstructured worker properties that are fixed and won’t change during regular operation.
sourcepub fn get_additional_fixed_properties(&self) -> &Option<String>
pub fn get_additional_fixed_properties(&self) -> &Option<String>
JSON blob containing unstructured worker properties that are fixed and won’t change during regular operation.
sourcepub fn vendor_properties(self, input: VendorProperties) -> Self
pub fn vendor_properties(self, input: VendorProperties) -> Self
Properties of the worker that are provided by the vendor FMS.
sourcepub fn set_vendor_properties(self, input: Option<VendorProperties>) -> Self
pub fn set_vendor_properties(self, input: Option<VendorProperties>) -> Self
Properties of the worker that are provided by the vendor FMS.
sourcepub fn get_vendor_properties(&self) -> &Option<VendorProperties>
pub fn get_vendor_properties(&self) -> &Option<VendorProperties>
Properties of the worker that are provided by the vendor FMS.
sourcepub fn position(self, input: PositionCoordinates) -> Self
pub fn position(self, input: PositionCoordinates) -> Self
Supported coordinates for worker position.
sourcepub fn set_position(self, input: Option<PositionCoordinates>) -> Self
pub fn set_position(self, input: Option<PositionCoordinates>) -> Self
Supported coordinates for worker position.
sourcepub fn get_position(&self) -> &Option<PositionCoordinates>
pub fn get_position(&self) -> &Option<PositionCoordinates>
Supported coordinates for worker position.
sourcepub fn orientation(self, input: Orientation) -> Self
pub fn orientation(self, input: Orientation) -> Self
Worker orientation measured in units clockwise from north.
sourcepub fn set_orientation(self, input: Option<Orientation>) -> Self
pub fn set_orientation(self, input: Option<Orientation>) -> Self
Worker orientation measured in units clockwise from north.
sourcepub fn get_orientation(&self) -> &Option<Orientation>
pub fn get_orientation(&self) -> &Option<Orientation>
Worker orientation measured in units clockwise from north.
sourcepub fn build(self) -> Result<CreateWorkerInput, BuildError>
pub fn build(self) -> Result<CreateWorkerInput, BuildError>
Consumes the builder and constructs a CreateWorkerInput.
source§impl CreateWorkerInputBuilder
impl CreateWorkerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateWorkerOutput, SdkError<CreateWorkerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateWorkerOutput, SdkError<CreateWorkerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateWorkerInputBuilder
impl Clone for CreateWorkerInputBuilder
source§fn clone(&self) -> CreateWorkerInputBuilder
fn clone(&self) -> CreateWorkerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateWorkerInputBuilder
impl Debug for CreateWorkerInputBuilder
source§impl Default for CreateWorkerInputBuilder
impl Default for CreateWorkerInputBuilder
source§fn default() -> CreateWorkerInputBuilder
fn default() -> CreateWorkerInputBuilder
source§impl PartialEq<CreateWorkerInputBuilder> for CreateWorkerInputBuilder
impl PartialEq<CreateWorkerInputBuilder> for CreateWorkerInputBuilder
source§fn eq(&self, other: &CreateWorkerInputBuilder) -> bool
fn eq(&self, other: &CreateWorkerInputBuilder) -> bool
self and other values to be equal, and is used
by ==.