pub struct Builder { /* private fields */ }
Expand description
A builder for GetConnectionsInput
.
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 connection_ids(self, input: impl Into<String>) -> Self
pub fn connection_ids(self, input: impl Into<String>) -> Self
Appends an item to connection_ids
.
To override the contents of this collection use set_connection_ids
.
One or more connection IDs.
sourcepub fn set_connection_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_connection_ids(self, input: Option<Vec<String>>) -> Self
One or more connection IDs.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The ID of the device.
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<GetConnectionsInput, BuildError>
pub fn build(self) -> Result<GetConnectionsInput, BuildError>
Consumes the builder and constructs a GetConnectionsInput
.