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<IpamDiscoveredAccountBuilder> for IpamDiscoveredAccountBuilder
impl PartialEq<IpamDiscoveredAccountBuilder> 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 ==
.