#[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
source§impl PartialEq for DescribeAgentOutputBuilder
impl PartialEq for DescribeAgentOutputBuilder
source§fn eq(&self, other: &DescribeAgentOutputBuilder) -> bool
fn eq(&self, other: &DescribeAgentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.