Struct aws_sdk_datasync::model::on_prem_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for OnPremConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn agent_arns(self, input: impl Into<String>) -> Self
pub fn agent_arns(self, input: impl Into<String>) -> Self
Appends an item to agent_arns
.
To override the contents of this collection use set_agent_arns
.
ARNs of the agents to use for an NFS location.
sourcepub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
ARNs of the agents to use for an NFS location.
sourcepub fn build(self) -> OnPremConfig
pub fn build(self) -> OnPremConfig
Consumes the builder and constructs a OnPremConfig
.