pub struct Builder { /* private fields */ }Expand description
A builder for AssociateHostedConnectionInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the hosted connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the hosted connection.
sourcepub fn parent_connection_id(self, input: impl Into<String>) -> Self
pub fn parent_connection_id(self, input: impl Into<String>) -> Self
The ID of the interconnect or the LAG.
sourcepub fn set_parent_connection_id(self, input: Option<String>) -> Self
pub fn set_parent_connection_id(self, input: Option<String>) -> Self
The ID of the interconnect or the LAG.
sourcepub fn build(self) -> Result<AssociateHostedConnectionInput, BuildError>
pub fn build(self) -> Result<AssociateHostedConnectionInput, BuildError>
Consumes the builder and constructs a AssociateHostedConnectionInput.