#[non_exhaustive]pub struct IpamDiscoveryFailureReasonBuilder { /* private fields */ }Expand description
A builder for IpamDiscoveryFailureReason.
Implementations§
source§impl IpamDiscoveryFailureReasonBuilder
impl IpamDiscoveryFailureReasonBuilder
sourcepub fn code(self, input: IpamDiscoveryFailureCode) -> Self
pub fn code(self, input: IpamDiscoveryFailureCode) -> Self
The discovery failure code.
-
assume-role-failure- IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:-
SLR has not been created yet and IPAM is still creating it.
-
You have opted-out of the IPAM home Region.
-
Account you are using as your IPAM account has been suspended.
-
-
throttling-failure- IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR. -
unauthorized-failure- Amazon Web Services account making the request is not authorized. For more information, see AuthFailure in the Amazon Elastic Compute Cloud API Reference.
sourcepub fn set_code(self, input: Option<IpamDiscoveryFailureCode>) -> Self
pub fn set_code(self, input: Option<IpamDiscoveryFailureCode>) -> Self
The discovery failure code.
-
assume-role-failure- IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:-
SLR has not been created yet and IPAM is still creating it.
-
You have opted-out of the IPAM home Region.
-
Account you are using as your IPAM account has been suspended.
-
-
throttling-failure- IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR. -
unauthorized-failure- Amazon Web Services account making the request is not authorized. For more information, see AuthFailure in the Amazon Elastic Compute Cloud API Reference.
sourcepub fn get_code(&self) -> &Option<IpamDiscoveryFailureCode>
pub fn get_code(&self) -> &Option<IpamDiscoveryFailureCode>
The discovery failure code.
-
assume-role-failure- IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:-
SLR has not been created yet and IPAM is still creating it.
-
You have opted-out of the IPAM home Region.
-
Account you are using as your IPAM account has been suspended.
-
-
throttling-failure- IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR. -
unauthorized-failure- Amazon Web Services account making the request is not authorized. For more information, see AuthFailure in the Amazon Elastic Compute Cloud API Reference.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The discovery failure message.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The discovery failure message.
sourcepub fn build(self) -> IpamDiscoveryFailureReason
pub fn build(self) -> IpamDiscoveryFailureReason
Consumes the builder and constructs a IpamDiscoveryFailureReason.
Trait Implementations§
source§impl Clone for IpamDiscoveryFailureReasonBuilder
impl Clone for IpamDiscoveryFailureReasonBuilder
source§fn clone(&self) -> IpamDiscoveryFailureReasonBuilder
fn clone(&self) -> IpamDiscoveryFailureReasonBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for IpamDiscoveryFailureReasonBuilder
impl Default for IpamDiscoveryFailureReasonBuilder
source§fn default() -> IpamDiscoveryFailureReasonBuilder
fn default() -> IpamDiscoveryFailureReasonBuilder
source§impl PartialEq for IpamDiscoveryFailureReasonBuilder
impl PartialEq for IpamDiscoveryFailureReasonBuilder
source§fn eq(&self, other: &IpamDiscoveryFailureReasonBuilder) -> bool
fn eq(&self, other: &IpamDiscoveryFailureReasonBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpamDiscoveryFailureReasonBuilder
Auto Trait Implementations§
impl Freeze for IpamDiscoveryFailureReasonBuilder
impl RefUnwindSafe for IpamDiscoveryFailureReasonBuilder
impl Send for IpamDiscoveryFailureReasonBuilder
impl Sync for IpamDiscoveryFailureReasonBuilder
impl Unpin for IpamDiscoveryFailureReasonBuilder
impl UnwindSafe for IpamDiscoveryFailureReasonBuilder
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