Struct aws_sdk_networkmanager::model::link_association::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LinkAssociation
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn device_id(self, input: impl Into<String>) -> Self
pub fn device_id(self, input: impl Into<String>) -> Self
The device ID for the link association.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The device ID for the link association.
sourcepub fn set_link_id(self, input: Option<String>) -> Self
pub fn set_link_id(self, input: Option<String>) -> Self
The ID of the link.
sourcepub fn link_association_state(self, input: LinkAssociationState) -> Self
pub fn link_association_state(self, input: LinkAssociationState) -> Self
The state of the association.
sourcepub fn set_link_association_state(
self,
input: Option<LinkAssociationState>
) -> Self
pub fn set_link_association_state(
self,
input: Option<LinkAssociationState>
) -> Self
The state of the association.
sourcepub fn build(self) -> LinkAssociation
pub fn build(self) -> LinkAssociation
Consumes the builder and constructs a LinkAssociation
.