Struct aws_sdk_sagemaker::output::list_spaces_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListSpacesOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn spaces(self, input: SpaceDetails) -> Self
pub fn spaces(self, input: SpaceDetails) -> Self
Appends an item to spaces
.
To override the contents of this collection use set_spaces
.
The list of spaces.
sourcepub fn set_spaces(self, input: Option<Vec<SpaceDetails>>) -> Self
pub fn set_spaces(self, input: Option<Vec<SpaceDetails>>) -> Self
The list of spaces.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
sourcepub fn build(self) -> ListSpacesOutput
pub fn build(self) -> ListSpacesOutput
Consumes the builder and constructs a ListSpacesOutput
.