Struct aws_sdk_ec2::model::associated_target_network::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AssociatedTargetNetwork
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn network_id(self, input: impl Into<String>) -> Self
pub fn network_id(self, input: impl Into<String>) -> Self
The ID of the subnet.
sourcepub fn set_network_id(self, input: Option<String>) -> Self
pub fn set_network_id(self, input: Option<String>) -> Self
The ID of the subnet.
sourcepub fn network_type(self, input: AssociatedNetworkType) -> Self
pub fn network_type(self, input: AssociatedNetworkType) -> Self
The target network type.
sourcepub fn set_network_type(self, input: Option<AssociatedNetworkType>) -> Self
pub fn set_network_type(self, input: Option<AssociatedNetworkType>) -> Self
The target network type.
sourcepub fn build(self) -> AssociatedTargetNetwork
pub fn build(self) -> AssociatedTargetNetwork
Consumes the builder and constructs a AssociatedTargetNetwork
.