Struct aws_sdk_datasync::output::list_agents_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAgentsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn agents(self, input: AgentListEntry) -> Self
pub fn agents(self, input: AgentListEntry) -> Self
Appends an item to agents
.
To override the contents of this collection use set_agents
.
A list of agents in your account.
sourcepub fn set_agents(self, input: Option<Vec<AgentListEntry>>) -> Self
pub fn set_agents(self, input: Option<Vec<AgentListEntry>>) -> Self
A list of agents in your account.
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 returning 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 returning the next list of agents.
sourcepub fn build(self) -> ListAgentsOutput
pub fn build(self) -> ListAgentsOutput
Consumes the builder and constructs a ListAgentsOutput
.