Struct aws_sdk_iot1clickprojects::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementInputBuilder
source · #[non_exhaustive]pub struct AssociateDeviceWithPlacementInputBuilder { /* private fields */ }Expand description
A builder for AssociateDeviceWithPlacementInput.
Implementations§
source§impl AssociateDeviceWithPlacementInputBuilder
impl AssociateDeviceWithPlacementInputBuilder
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.
sourcepub fn build(self) -> Result<AssociateDeviceWithPlacementInput, BuildError>
pub fn build(self) -> Result<AssociateDeviceWithPlacementInput, BuildError>
Consumes the builder and constructs a AssociateDeviceWithPlacementInput.
Trait Implementations§
source§impl Clone for AssociateDeviceWithPlacementInputBuilder
impl Clone for AssociateDeviceWithPlacementInputBuilder
source§fn clone(&self) -> AssociateDeviceWithPlacementInputBuilder
fn clone(&self) -> AssociateDeviceWithPlacementInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AssociateDeviceWithPlacementInputBuilder
impl Default for AssociateDeviceWithPlacementInputBuilder
source§fn default() -> AssociateDeviceWithPlacementInputBuilder
fn default() -> AssociateDeviceWithPlacementInputBuilder
source§impl PartialEq<AssociateDeviceWithPlacementInputBuilder> for AssociateDeviceWithPlacementInputBuilder
impl PartialEq<AssociateDeviceWithPlacementInputBuilder> for AssociateDeviceWithPlacementInputBuilder
source§fn eq(&self, other: &AssociateDeviceWithPlacementInputBuilder) -> bool
fn eq(&self, other: &AssociateDeviceWithPlacementInputBuilder) -> bool
self and other values to be equal, and is used
by ==.