Struct aws_sdk_cloud9::input::list_environments_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListEnvironmentsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of environments to get identifiers for.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of environments to get identifiers for.
sourcepub fn build(self) -> Result<ListEnvironmentsInput, BuildError>
pub fn build(self) -> Result<ListEnvironmentsInput, BuildError>
Consumes the builder and constructs a ListEnvironmentsInput
.