pub struct Builder { /* private fields */ }
Expand description
A builder for ListConnectionsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn connections(self, input: Connection) -> Self
pub fn connections(self, input: Connection) -> Self
Appends an item to connections
.
To override the contents of this collection use set_connections
.
A list of connections and the details for each connection, such as status, owner, and provider type.
sourcepub fn set_connections(self, input: Option<Vec<Connection>>) -> Self
pub fn set_connections(self, input: Option<Vec<Connection>>) -> Self
A list of connections and the details for each connection, such as status, owner, and provider type.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that can be used in the next ListConnections
call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken
values are returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that can be used in the next ListConnections
call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken
values are returned.
sourcepub fn build(self) -> ListConnectionsOutput
pub fn build(self) -> ListConnectionsOutput
Consumes the builder and constructs a ListConnectionsOutput
.