Struct aws_sdk_datasync::input::update_agent_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateAgentInput
.
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 to update.
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 to update.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name that you want to use to configure the agent.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name that you want to use to configure the agent.
sourcepub fn build(self) -> Result<UpdateAgentInput, BuildError>
pub fn build(self) -> Result<UpdateAgentInput, BuildError>
Consumes the builder and constructs a UpdateAgentInput
.