#[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 ==
.