Struct aws_sdk_datasync::output::describe_agent_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeAgentOutput
.
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.
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
.