Struct aws_sdk_grafana::input::list_workspaces_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListWorkspacesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of workspaces to include in the results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of workspaces to include in the results.
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 set of workspaces to return. (You receive this token from a previous ListWorkspaces
operation.)
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 set of workspaces to return. (You receive this token from a previous ListWorkspaces
operation.)
sourcepub fn build(self) -> Result<ListWorkspacesInput, BuildError>
pub fn build(self) -> Result<ListWorkspacesInput, BuildError>
Consumes the builder and constructs a ListWorkspacesInput
.