pub struct AssociateDeviceWithPlacement { /* private fields */ }Expand description
Fluent builder constructing a request to AssociateDeviceWithPlacement.
Associates a physical device with a placement.
Implementations§
source§impl AssociateDeviceWithPlacement
impl AssociateDeviceWithPlacement
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateDeviceWithPlacement, AwsResponseRetryClassifier>, SdkError<AssociateDeviceWithPlacementError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AssociateDeviceWithPlacement, AwsResponseRetryClassifier>, SdkError<AssociateDeviceWithPlacementError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AssociateDeviceWithPlacementOutput, SdkError<AssociateDeviceWithPlacementError>>
pub async fn send(
self
) -> Result<AssociateDeviceWithPlacementOutput, SdkError<AssociateDeviceWithPlacementError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project containing the placement in which to associate the device.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project containing the placement in which to associate the device.
sourcepub fn placement_name(self, input: impl Into<String>) -> Self
pub fn placement_name(self, input: impl Into<String>) -> Self
The name of the placement in which to associate the device.
sourcepub fn set_placement_name(self, input: Option<String>) -> Self
pub fn set_placement_name(self, input: Option<String>) -> Self
The name of the placement in which to associate the device.
sourcepub fn device_id(self, input: impl Into<String>) -> Self
pub fn device_id(self, input: impl Into<String>) -> Self
The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all deviceId values.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all deviceId values.
sourcepub fn device_template_name(self, input: impl Into<String>) -> Self
pub fn device_template_name(self, input: impl Into<String>) -> Self
The device template name to associate with the device ID.
sourcepub fn set_device_template_name(self, input: Option<String>) -> Self
pub fn set_device_template_name(self, input: Option<String>) -> Self
The device template name to associate with the device ID.
Trait Implementations§
source§impl Clone for AssociateDeviceWithPlacement
impl Clone for AssociateDeviceWithPlacement
source§fn clone(&self) -> AssociateDeviceWithPlacement
fn clone(&self) -> AssociateDeviceWithPlacement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more