Struct aws_sdk_datasync::input::delete_agent_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteAgentInput
.
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 delete. Use the ListAgents
operation to return a list of agents for your account and Amazon Web Services Region.
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 delete. Use the ListAgents
operation to return a list of agents for your account and Amazon Web Services Region.
sourcepub fn build(self) -> Result<DeleteAgentInput, BuildError>
pub fn build(self) -> Result<DeleteAgentInput, BuildError>
Consumes the builder and constructs a DeleteAgentInput
.