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
impl StructuralPartialEq for GeoLocationTargetBuilder
Auto Trait Implementations§
impl Freeze for GeoLocationTargetBuilder
impl RefUnwindSafe for GeoLocationTargetBuilder
impl Send for GeoLocationTargetBuilder
impl Sync for GeoLocationTargetBuilder
impl Unpin for GeoLocationTargetBuilder
impl UnwindSafe for GeoLocationTargetBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more