Struct aws_sdk_iot::types::builders::GeoLocationTargetBuilder
source · #[non_exhaustive]pub struct GeoLocationTargetBuilder { /* private fields */ }Expand description
A builder for GeoLocationTarget.
Implementations§
source§impl GeoLocationTargetBuilder
impl GeoLocationTargetBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow filter.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow filter.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow filter.
sourcepub fn order(self, input: TargetFieldOrder) -> Self
pub fn order(self, input: TargetFieldOrder) -> Self
The order of the geolocation target field. This field is optional. The default value is LatLon.
sourcepub fn set_order(self, input: Option<TargetFieldOrder>) -> Self
pub fn set_order(self, input: Option<TargetFieldOrder>) -> Self
The order of the geolocation target field. This field is optional. The default value is LatLon.
sourcepub fn get_order(&self) -> &Option<TargetFieldOrder>
pub fn get_order(&self) -> &Option<TargetFieldOrder>
The order of the geolocation target field. This field is optional. The default value is LatLon.
sourcepub fn build(self) -> GeoLocationTarget
pub fn build(self) -> GeoLocationTarget
Consumes the builder and constructs a GeoLocationTarget.
Trait Implementations§
source§impl Clone for GeoLocationTargetBuilder
impl Clone for GeoLocationTargetBuilder
source§fn clone(&self) -> GeoLocationTargetBuilder
fn clone(&self) -> GeoLocationTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GeoLocationTargetBuilder
impl Debug for GeoLocationTargetBuilder
source§impl Default for GeoLocationTargetBuilder
impl Default for GeoLocationTargetBuilder
source§fn default() -> GeoLocationTargetBuilder
fn default() -> GeoLocationTargetBuilder
source§impl PartialEq for GeoLocationTargetBuilder
impl PartialEq for GeoLocationTargetBuilder
source§fn eq(&self, other: &GeoLocationTargetBuilder) -> bool
fn eq(&self, other: &GeoLocationTargetBuilder) -> bool
self and other values to be equal, and is used
by ==.