Struct aws_sdk_greengrassv2::operation::list_core_devices::builders::ListCoreDevicesInputBuilder
source · #[non_exhaustive]pub struct ListCoreDevicesInputBuilder { /* private fields */ }
Expand description
A builder for ListCoreDevicesInput
.
Implementations§
source§impl ListCoreDevicesInputBuilder
impl ListCoreDevicesInputBuilder
sourcepub fn thing_group_arn(self, input: impl Into<String>) -> Self
pub fn thing_group_arn(self, input: impl Into<String>) -> Self
The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that have successfully deployed a deployment that targets the thing group. When you remove a core device from a thing group, the list continues to include that core device.
sourcepub fn set_thing_group_arn(self, input: Option<String>) -> Self
pub fn set_thing_group_arn(self, input: Option<String>) -> Self
The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that have successfully deployed a deployment that targets the thing group. When you remove a core device from a thing group, the list continues to include that core device.
sourcepub fn get_thing_group_arn(&self) -> &Option<String>
pub fn get_thing_group_arn(&self) -> &Option<String>
The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that have successfully deployed a deployment that targets the thing group. When you remove a core device from a thing group, the list continues to include that core device.
sourcepub fn status(self, input: CoreDeviceStatus) -> Self
pub fn status(self, input: CoreDeviceStatus) -> Self
The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:
-
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
sourcepub fn set_status(self, input: Option<CoreDeviceStatus>) -> Self
pub fn set_status(self, input: Option<CoreDeviceStatus>) -> Self
The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:
-
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
sourcepub fn get_status(&self) -> &Option<CoreDeviceStatus>
pub fn get_status(&self) -> &Option<CoreDeviceStatus>
The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:
-
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to be returned per paginated request.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to be returned per paginated request.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to be returned per paginated request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to be used for the next set of paginated results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to be used for the next set of paginated results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to be used for the next set of paginated results.
sourcepub fn build(self) -> Result<ListCoreDevicesInput, BuildError>
pub fn build(self) -> Result<ListCoreDevicesInput, BuildError>
Consumes the builder and constructs a ListCoreDevicesInput
.
source§impl ListCoreDevicesInputBuilder
impl ListCoreDevicesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListCoreDevicesOutput, SdkError<ListCoreDevicesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListCoreDevicesOutput, SdkError<ListCoreDevicesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListCoreDevicesInputBuilder
impl Clone for ListCoreDevicesInputBuilder
source§fn clone(&self) -> ListCoreDevicesInputBuilder
fn clone(&self) -> ListCoreDevicesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCoreDevicesInputBuilder
impl Debug for ListCoreDevicesInputBuilder
source§impl Default for ListCoreDevicesInputBuilder
impl Default for ListCoreDevicesInputBuilder
source§fn default() -> ListCoreDevicesInputBuilder
fn default() -> ListCoreDevicesInputBuilder
source§impl PartialEq for ListCoreDevicesInputBuilder
impl PartialEq for ListCoreDevicesInputBuilder
source§fn eq(&self, other: &ListCoreDevicesInputBuilder) -> bool
fn eq(&self, other: &ListCoreDevicesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCoreDevicesInputBuilder
Auto Trait Implementations§
impl Freeze for ListCoreDevicesInputBuilder
impl RefUnwindSafe for ListCoreDevicesInputBuilder
impl Send for ListCoreDevicesInputBuilder
impl Sync for ListCoreDevicesInputBuilder
impl Unpin for ListCoreDevicesInputBuilder
impl UnwindSafe for ListCoreDevicesInputBuilder
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> 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