Struct aws_sdk_datasync::input::list_agents_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAgentsInput
.
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 agents 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 agents to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An opaque string that indicates the position at which to begin the next list of agents.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An opaque string that indicates the position at which to begin the next list of agents.
sourcepub fn build(self) -> Result<ListAgentsInput, BuildError>
pub fn build(self) -> Result<ListAgentsInput, BuildError>
Consumes the builder and constructs a ListAgentsInput
.