Struct aws_sdk_datasync::model::agent_list_entry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AgentListEntry
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn agent_arn(self, input: impl Into<String>) -> Self
pub fn agent_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the agent.
sourcepub fn set_agent_arn(self, input: Option<String>) -> Self
pub fn set_agent_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the agent.
sourcepub fn status(self, input: AgentStatus) -> Self
pub fn status(self, input: AgentStatus) -> Self
The status of the agent.
sourcepub fn set_status(self, input: Option<AgentStatus>) -> Self
pub fn set_status(self, input: Option<AgentStatus>) -> Self
The status of the agent.
sourcepub fn build(self) -> AgentListEntry
pub fn build(self) -> AgentListEntry
Consumes the builder and constructs a AgentListEntry
.