Struct aws_sdk_networkmanager::input::get_devices_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetDevicesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn device_ids(self, input: impl Into<String>) -> Self
pub fn device_ids(self, input: impl Into<String>) -> Self
Appends an item to device_ids
.
To override the contents of this collection use set_device_ids
.
One or more device IDs. The maximum is 10.
sourcepub fn set_device_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_device_ids(self, input: Option<Vec<String>>) -> Self
One or more device IDs. The maximum is 10.
sourcepub fn set_site_id(self, input: Option<String>) -> Self
pub fn set_site_id(self, input: Option<String>) -> Self
The ID of the site.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
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 return.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next page of results.
sourcepub fn build(self) -> Result<GetDevicesInput, BuildError>
pub fn build(self) -> Result<GetDevicesInput, BuildError>
Consumes the builder and constructs a GetDevicesInput
.