#[non_exhaustive]pub struct IpamResourceDiscoveryAssociationBuilder { /* private fields */ }
Expand description
A builder for IpamResourceDiscoveryAssociation
.
Implementations§
source§impl IpamResourceDiscoveryAssociationBuilder
impl IpamResourceDiscoveryAssociationBuilder
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the resource discovery owner.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the resource discovery owner.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The Amazon Web Services account ID of the resource discovery owner.
sourcepub fn ipam_resource_discovery_association_id(
self,
input: impl Into<String>
) -> Self
pub fn ipam_resource_discovery_association_id( self, input: impl Into<String> ) -> Self
The resource discovery association ID.
sourcepub fn set_ipam_resource_discovery_association_id(
self,
input: Option<String>
) -> Self
pub fn set_ipam_resource_discovery_association_id( self, input: Option<String> ) -> Self
The resource discovery association ID.
sourcepub fn get_ipam_resource_discovery_association_id(&self) -> &Option<String>
pub fn get_ipam_resource_discovery_association_id(&self) -> &Option<String>
The resource discovery association ID.
sourcepub fn ipam_resource_discovery_association_arn(
self,
input: impl Into<String>
) -> Self
pub fn ipam_resource_discovery_association_arn( self, input: impl Into<String> ) -> Self
The resource discovery association Amazon Resource Name (ARN).
sourcepub fn set_ipam_resource_discovery_association_arn(
self,
input: Option<String>
) -> Self
pub fn set_ipam_resource_discovery_association_arn( self, input: Option<String> ) -> Self
The resource discovery association Amazon Resource Name (ARN).
sourcepub fn get_ipam_resource_discovery_association_arn(&self) -> &Option<String>
pub fn get_ipam_resource_discovery_association_arn(&self) -> &Option<String>
The resource discovery association Amazon Resource Name (ARN).
sourcepub fn ipam_resource_discovery_id(self, input: impl Into<String>) -> Self
pub fn ipam_resource_discovery_id(self, input: impl Into<String>) -> Self
The resource discovery ID.
sourcepub fn set_ipam_resource_discovery_id(self, input: Option<String>) -> Self
pub fn set_ipam_resource_discovery_id(self, input: Option<String>) -> Self
The resource discovery ID.
sourcepub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
pub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
The resource discovery ID.
sourcepub fn set_ipam_id(self, input: Option<String>) -> Self
pub fn set_ipam_id(self, input: Option<String>) -> Self
The IPAM ID.
sourcepub fn get_ipam_id(&self) -> &Option<String>
pub fn get_ipam_id(&self) -> &Option<String>
The IPAM ID.
sourcepub fn set_ipam_arn(self, input: Option<String>) -> Self
pub fn set_ipam_arn(self, input: Option<String>) -> Self
The IPAM ARN.
sourcepub fn get_ipam_arn(&self) -> &Option<String>
pub fn get_ipam_arn(&self) -> &Option<String>
The IPAM ARN.
sourcepub fn ipam_region(self, input: impl Into<String>) -> Self
pub fn ipam_region(self, input: impl Into<String>) -> Self
The IPAM home Region.
sourcepub fn set_ipam_region(self, input: Option<String>) -> Self
pub fn set_ipam_region(self, input: Option<String>) -> Self
The IPAM home Region.
sourcepub fn get_ipam_region(&self) -> &Option<String>
pub fn get_ipam_region(&self) -> &Option<String>
The IPAM home Region.
sourcepub fn is_default(self, input: bool) -> Self
pub fn is_default(self, input: bool) -> Self
Defines if the resource discovery is the default. When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.
sourcepub fn set_is_default(self, input: Option<bool>) -> Self
pub fn set_is_default(self, input: Option<bool>) -> Self
Defines if the resource discovery is the default. When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.
sourcepub fn get_is_default(&self) -> &Option<bool>
pub fn get_is_default(&self) -> &Option<bool>
Defines if the resource discovery is the default. When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.
sourcepub fn resource_discovery_status(
self,
input: IpamAssociatedResourceDiscoveryStatus
) -> Self
pub fn resource_discovery_status( self, input: IpamAssociatedResourceDiscoveryStatus ) -> Self
The resource discovery status.
-
active
- Connection or permissions required to read the results of the resource discovery are intact. -
not-found
- Connection or permissions required to read the results of the resource discovery are broken. This may happen if the owner of the resource discovery stopped sharing it or deleted the resource discovery. Verify the resource discovery still exists and the Amazon Web Services RAM resource share is still intact.
sourcepub fn set_resource_discovery_status(
self,
input: Option<IpamAssociatedResourceDiscoveryStatus>
) -> Self
pub fn set_resource_discovery_status( self, input: Option<IpamAssociatedResourceDiscoveryStatus> ) -> Self
The resource discovery status.
-
active
- Connection or permissions required to read the results of the resource discovery are intact. -
not-found
- Connection or permissions required to read the results of the resource discovery are broken. This may happen if the owner of the resource discovery stopped sharing it or deleted the resource discovery. Verify the resource discovery still exists and the Amazon Web Services RAM resource share is still intact.
sourcepub fn get_resource_discovery_status(
&self
) -> &Option<IpamAssociatedResourceDiscoveryStatus>
pub fn get_resource_discovery_status( &self ) -> &Option<IpamAssociatedResourceDiscoveryStatus>
The resource discovery status.
-
active
- Connection or permissions required to read the results of the resource discovery are intact. -
not-found
- Connection or permissions required to read the results of the resource discovery are broken. This may happen if the owner of the resource discovery stopped sharing it or deleted the resource discovery. Verify the resource discovery still exists and the Amazon Web Services RAM resource share is still intact.
sourcepub fn state(self, input: IpamResourceDiscoveryAssociationState) -> Self
pub fn state(self, input: IpamResourceDiscoveryAssociationState) -> Self
The lifecycle state of the association when you associate or disassociate a resource discovery.
-
associate-in-progress
- Resource discovery is being associated. -
associate-complete
- Resource discovery association is complete. -
associate-failed
- Resource discovery association has failed. -
disassociate-in-progress
- Resource discovery is being disassociated. -
disassociate-complete
- Resource discovery disassociation is complete. -
disassociate-failed
- Resource discovery disassociation has failed. -
isolate-in-progress
- Amazon Web Services account that created the resource discovery association has been removed and the resource discovery associatation is being isolated. -
isolate-complete
- Resource discovery isolation is complete.. -
restore-in-progress
- Resource discovery is being restored.
sourcepub fn set_state(
self,
input: Option<IpamResourceDiscoveryAssociationState>
) -> Self
pub fn set_state( self, input: Option<IpamResourceDiscoveryAssociationState> ) -> Self
The lifecycle state of the association when you associate or disassociate a resource discovery.
-
associate-in-progress
- Resource discovery is being associated. -
associate-complete
- Resource discovery association is complete. -
associate-failed
- Resource discovery association has failed. -
disassociate-in-progress
- Resource discovery is being disassociated. -
disassociate-complete
- Resource discovery disassociation is complete. -
disassociate-failed
- Resource discovery disassociation has failed. -
isolate-in-progress
- Amazon Web Services account that created the resource discovery association has been removed and the resource discovery associatation is being isolated. -
isolate-complete
- Resource discovery isolation is complete.. -
restore-in-progress
- Resource discovery is being restored.
sourcepub fn get_state(&self) -> &Option<IpamResourceDiscoveryAssociationState>
pub fn get_state(&self) -> &Option<IpamResourceDiscoveryAssociationState>
The lifecycle state of the association when you associate or disassociate a resource discovery.
-
associate-in-progress
- Resource discovery is being associated. -
associate-complete
- Resource discovery association is complete. -
associate-failed
- Resource discovery association has failed. -
disassociate-in-progress
- Resource discovery is being disassociated. -
disassociate-complete
- Resource discovery disassociation is complete. -
disassociate-failed
- Resource discovery disassociation has failed. -
isolate-in-progress
- Amazon Web Services account that created the resource discovery association has been removed and the resource discovery associatation is being isolated. -
isolate-complete
- Resource discovery isolation is complete.. -
restore-in-progress
- Resource discovery is being restored.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
sourcepub fn build(self) -> IpamResourceDiscoveryAssociation
pub fn build(self) -> IpamResourceDiscoveryAssociation
Consumes the builder and constructs a IpamResourceDiscoveryAssociation
.
Trait Implementations§
source§impl Clone for IpamResourceDiscoveryAssociationBuilder
impl Clone for IpamResourceDiscoveryAssociationBuilder
source§fn clone(&self) -> IpamResourceDiscoveryAssociationBuilder
fn clone(&self) -> IpamResourceDiscoveryAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for IpamResourceDiscoveryAssociationBuilder
impl Default for IpamResourceDiscoveryAssociationBuilder
source§fn default() -> IpamResourceDiscoveryAssociationBuilder
fn default() -> IpamResourceDiscoveryAssociationBuilder
source§impl PartialEq for IpamResourceDiscoveryAssociationBuilder
impl PartialEq for IpamResourceDiscoveryAssociationBuilder
source§fn eq(&self, other: &IpamResourceDiscoveryAssociationBuilder) -> bool
fn eq(&self, other: &IpamResourceDiscoveryAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.