Struct aws_sdk_ec2::types::builders::IpamDiscoveredAccountBuilder
source · #[non_exhaustive]pub struct IpamDiscoveredAccountBuilder { /* private fields */ }
Expand description
A builder for IpamDiscoveredAccount
.
Implementations§
source§impl IpamDiscoveredAccountBuilder
impl IpamDiscoveredAccountBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID.
sourcepub fn discovery_region(self, input: impl Into<String>) -> Self
pub fn discovery_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
sourcepub fn set_discovery_region(self, input: Option<String>) -> Self
pub fn set_discovery_region(self, input: Option<String>) -> Self
The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
sourcepub fn get_discovery_region(&self) -> &Option<String>
pub fn get_discovery_region(&self) -> &Option<String>
The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
sourcepub fn failure_reason(self, input: IpamDiscoveryFailureReason) -> Self
pub fn failure_reason(self, input: IpamDiscoveryFailureReason) -> Self
The resource discovery failure reason.
sourcepub fn set_failure_reason(
self,
input: Option<IpamDiscoveryFailureReason>,
) -> Self
pub fn set_failure_reason( self, input: Option<IpamDiscoveryFailureReason>, ) -> Self
The resource discovery failure reason.
sourcepub fn get_failure_reason(&self) -> &Option<IpamDiscoveryFailureReason>
pub fn get_failure_reason(&self) -> &Option<IpamDiscoveryFailureReason>
The resource discovery failure reason.
sourcepub fn last_attempted_discovery_time(self, input: DateTime) -> Self
pub fn last_attempted_discovery_time(self, input: DateTime) -> Self
The last attempted resource discovery time.
sourcepub fn set_last_attempted_discovery_time(self, input: Option<DateTime>) -> Self
pub fn set_last_attempted_discovery_time(self, input: Option<DateTime>) -> Self
The last attempted resource discovery time.
sourcepub fn get_last_attempted_discovery_time(&self) -> &Option<DateTime>
pub fn get_last_attempted_discovery_time(&self) -> &Option<DateTime>
The last attempted resource discovery time.
sourcepub fn last_successful_discovery_time(self, input: DateTime) -> Self
pub fn last_successful_discovery_time(self, input: DateTime) -> Self
The last successful resource discovery time.
sourcepub fn set_last_successful_discovery_time(self, input: Option<DateTime>) -> Self
pub fn set_last_successful_discovery_time(self, input: Option<DateTime>) -> Self
The last successful resource discovery time.
sourcepub fn get_last_successful_discovery_time(&self) -> &Option<DateTime>
pub fn get_last_successful_discovery_time(&self) -> &Option<DateTime>
The last successful resource discovery time.
sourcepub fn build(self) -> IpamDiscoveredAccount
pub fn build(self) -> IpamDiscoveredAccount
Consumes the builder and constructs a IpamDiscoveredAccount
.
Trait Implementations§
source§impl Clone for IpamDiscoveredAccountBuilder
impl Clone for IpamDiscoveredAccountBuilder
source§fn clone(&self) -> IpamDiscoveredAccountBuilder
fn clone(&self) -> IpamDiscoveredAccountBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IpamDiscoveredAccountBuilder
impl Debug for IpamDiscoveredAccountBuilder
source§impl Default for IpamDiscoveredAccountBuilder
impl Default for IpamDiscoveredAccountBuilder
source§fn default() -> IpamDiscoveredAccountBuilder
fn default() -> IpamDiscoveredAccountBuilder
source§impl PartialEq for IpamDiscoveredAccountBuilder
impl PartialEq for IpamDiscoveredAccountBuilder
source§fn eq(&self, other: &IpamDiscoveredAccountBuilder) -> bool
fn eq(&self, other: &IpamDiscoveredAccountBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpamDiscoveredAccountBuilder
Auto Trait Implementations§
impl Freeze for IpamDiscoveredAccountBuilder
impl RefUnwindSafe for IpamDiscoveredAccountBuilder
impl Send for IpamDiscoveredAccountBuilder
impl Sync for IpamDiscoveredAccountBuilder
impl Unpin for IpamDiscoveredAccountBuilder
impl UnwindSafe for IpamDiscoveredAccountBuilder
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