#[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, 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 get_status(&self) -> &Option<AgentStatus>
pub fn get_status(&self) -> &Option<AgentStatus>
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 get_last_connection_time(&self) -> &Option<DateTime>
pub fn get_last_connection_time(&self) -> &Option<DateTime>
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
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 get_endpoint_type(&self) -> &Option<EndpointType>
pub fn get_endpoint_type(&self) -> &Option<EndpointType>
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 get_private_link_config(&self) -> &Option<PrivateLinkConfig>
pub fn get_private_link_config(&self) -> &Option<PrivateLinkConfig>
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§
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 ==
.