pub struct Builder { /* private fields */ }
Expand description
A builder for ListApplicationsInput
.
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
The token for the next set of application results.
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 application results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of applications that can be listed.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of applications that can be listed.
sourcepub fn states(self, input: ApplicationState) -> Self
pub fn states(self, input: ApplicationState) -> Self
Appends an item to states
.
To override the contents of this collection use set_states
.
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
sourcepub fn set_states(self, input: Option<Vec<ApplicationState>>) -> Self
pub fn set_states(self, input: Option<Vec<ApplicationState>>) -> Self
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
sourcepub fn build(self) -> Result<ListApplicationsInput, BuildError>
pub fn build(self) -> Result<ListApplicationsInput, BuildError>
Consumes the builder and constructs a ListApplicationsInput
.