Struct aws_sdk_proton::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
A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of environments to list.
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 list.
sourcepub fn environment_templates(self, input: EnvironmentTemplateFilter) -> Self
pub fn environment_templates(self, input: EnvironmentTemplateFilter) -> Self
Appends an item to environment_templates.
To override the contents of this collection use set_environment_templates.
An array of the versions of the environment template.
sourcepub fn set_environment_templates(
self,
input: Option<Vec<EnvironmentTemplateFilter>>
) -> Self
pub fn set_environment_templates(
self,
input: Option<Vec<EnvironmentTemplateFilter>>
) -> Self
An array of the versions of the environment template.
sourcepub fn build(self) -> Result<ListEnvironmentsInput, BuildError>
pub fn build(self) -> Result<ListEnvironmentsInput, BuildError>
Consumes the builder and constructs a ListEnvironmentsInput.