#[non_exhaustive]pub struct DescribeAgentOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeAgentOutput
.
Implementations§
source§impl DescribeAgentOutputBuilder
impl DescribeAgentOutputBuilder
sourcepub fn set_agent_arn(self, input: Option<String>) -> Self
pub fn set_agent_arn(self, input: Option<String>) -> Self
The ARN of the agent.
sourcepub fn get_agent_arn(&self) -> &Option<String>
pub fn get_agent_arn(&self) -> &Option<String>
The 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
, the agent is configured properly and ready to use. -
If the status is
OFFLINE
, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
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
, the agent is configured properly and ready to use. -
If the status is
OFFLINE
, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
sourcepub fn get_status(&self) -> &Option<AgentStatus>
pub fn get_status(&self) -> &Option<AgentStatus>
The status of the agent.
-
If the status is
ONLINE
, the agent is configured properly and ready to use. -
If the status is
OFFLINE
, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
sourcepub fn last_connection_time(self, input: DateTime) -> Self
pub fn last_connection_time(self, input: DateTime) -> Self
The last time that the agent was communicating with the DataSync service.
sourcepub fn set_last_connection_time(self, input: Option<DateTime>) -> Self
pub fn set_last_connection_time(self, input: Option<DateTime>) -> Self
The last time that the agent was communicating with the DataSync service.
sourcepub fn get_last_connection_time(&self) -> &Option<DateTime>
pub fn get_last_connection_time(&self) -> &Option<DateTime>
The last time that the agent was communicating with the DataSync service.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the agent was activated.
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.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that the agent was activated.
sourcepub fn endpoint_type(self, input: EndpointType) -> Self
pub fn endpoint_type(self, input: EndpointType) -> Self
The type of service endpoint that your agent is connected to.
sourcepub fn set_endpoint_type(self, input: Option<EndpointType>) -> Self
pub fn set_endpoint_type(self, input: Option<EndpointType>) -> Self
The type of service endpoint that your agent is connected to.
sourcepub fn get_endpoint_type(&self) -> &Option<EndpointType>
pub fn get_endpoint_type(&self) -> &Option<EndpointType>
The type of service endpoint that your agent is connected to.
sourcepub fn private_link_config(self, input: PrivateLinkConfig) -> Self
pub fn private_link_config(self, input: PrivateLinkConfig) -> Self
The network configuration that the agent uses when connecting to a VPC service endpoint.
sourcepub fn set_private_link_config(self, input: Option<PrivateLinkConfig>) -> Self
pub fn set_private_link_config(self, input: Option<PrivateLinkConfig>) -> Self
The network configuration that the agent uses when connecting to a VPC service endpoint.
sourcepub fn get_private_link_config(&self) -> &Option<PrivateLinkConfig>
pub fn get_private_link_config(&self) -> &Option<PrivateLinkConfig>
The network configuration that the agent uses when connecting to a VPC service endpoint.
sourcepub fn platform(self, input: Platform) -> Self
pub fn platform(self, input: Platform) -> Self
The platform-related details about the agent, such as the version number.
sourcepub fn set_platform(self, input: Option<Platform>) -> Self
pub fn set_platform(self, input: Option<Platform>) -> Self
The platform-related details about the agent, such as the version number.
sourcepub fn get_platform(&self) -> &Option<Platform>
pub fn get_platform(&self) -> &Option<Platform>
The platform-related details about the agent, such as the version number.
sourcepub fn build(self) -> DescribeAgentOutput
pub fn build(self) -> DescribeAgentOutput
Consumes the builder and constructs a DescribeAgentOutput
.
Trait Implementations§
source§impl Clone for DescribeAgentOutputBuilder
impl Clone for DescribeAgentOutputBuilder
source§fn clone(&self) -> DescribeAgentOutputBuilder
fn clone(&self) -> DescribeAgentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeAgentOutputBuilder
impl Debug for DescribeAgentOutputBuilder
source§impl Default for DescribeAgentOutputBuilder
impl Default for DescribeAgentOutputBuilder
source§fn default() -> DescribeAgentOutputBuilder
fn default() -> DescribeAgentOutputBuilder
impl StructuralPartialEq for DescribeAgentOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeAgentOutputBuilder
impl RefUnwindSafe for DescribeAgentOutputBuilder
impl Send for DescribeAgentOutputBuilder
impl Sync for DescribeAgentOutputBuilder
impl Unpin for DescribeAgentOutputBuilder
impl UnwindSafe for DescribeAgentOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more