Struct aws_sdk_datasync::types::builders::AgentListEntryBuilder
source · #[non_exhaustive]pub struct AgentListEntryBuilder { /* private fields */ }
Expand description
A builder for AgentListEntry
.
Implementations§
source§impl AgentListEntryBuilder
impl AgentListEntryBuilder
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 a DataSync 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 a DataSync agent.
sourcepub fn get_agent_arn(&self) -> &Option<String>
pub fn get_agent_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of a DataSync agent.
sourcepub fn status(self, input: AgentStatus) -> Self
pub fn status(self, input: AgentStatus) -> Self
The status of an 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 an 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 an 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 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) -> AgentListEntry
pub fn build(self) -> AgentListEntry
Consumes the builder and constructs a AgentListEntry
.
Trait Implementations§
source§impl Clone for AgentListEntryBuilder
impl Clone for AgentListEntryBuilder
source§fn clone(&self) -> AgentListEntryBuilder
fn clone(&self) -> AgentListEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AgentListEntryBuilder
impl Debug for AgentListEntryBuilder
source§impl Default for AgentListEntryBuilder
impl Default for AgentListEntryBuilder
source§fn default() -> AgentListEntryBuilder
fn default() -> AgentListEntryBuilder
source§impl PartialEq for AgentListEntryBuilder
impl PartialEq for AgentListEntryBuilder
source§fn eq(&self, other: &AgentListEntryBuilder) -> bool
fn eq(&self, other: &AgentListEntryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AgentListEntryBuilder
Auto Trait Implementations§
impl Freeze for AgentListEntryBuilder
impl RefUnwindSafe for AgentListEntryBuilder
impl Send for AgentListEntryBuilder
impl Sync for AgentListEntryBuilder
impl Unpin for AgentListEntryBuilder
impl UnwindSafe for AgentListEntryBuilder
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> 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