Struct aws_sdk_datasync::output::describe_agent_output::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeAgentOutput
Implementations
sourceimpl 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. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
sourcepub fn set_status(self, input: Option<AgentStatus>) -> Self
pub fn set_status(self, input: Option<AgentStatus>) -> Self
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
sourcepub fn last_connection_time(self, input: DateTime) -> Self
pub fn last_connection_time(self, input: DateTime) -> Self
The time that the agent last connected to DataSync.
sourcepub fn set_last_connection_time(self, input: Option<DateTime>) -> Self
pub fn set_last_connection_time(self, input: Option<DateTime>) -> Self
The time that the agent last connected to DataSync.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the agent was activated (that is, created in your account).
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the agent was activated (that is, created in your account).
sourcepub fn endpoint_type(self, input: EndpointType) -> Self
pub fn endpoint_type(self, input: EndpointType) -> Self
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
sourcepub fn set_endpoint_type(self, input: Option<EndpointType>) -> Self
pub fn set_endpoint_type(self, input: Option<EndpointType>) -> Self
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
sourcepub fn private_link_config(self, input: PrivateLinkConfig) -> Self
pub fn private_link_config(self, input: PrivateLinkConfig) -> Self
The subnet and the security group that DataSync used to access a VPC endpoint.
sourcepub fn set_private_link_config(self, input: Option<PrivateLinkConfig>) -> Self
pub fn set_private_link_config(self, input: Option<PrivateLinkConfig>) -> Self
The subnet and the security group that DataSync used to access a VPC endpoint.
sourcepub fn build(self) -> DescribeAgentOutput
pub fn build(self) -> DescribeAgentOutput
Consumes the builder and constructs a DescribeAgentOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more