Struct aws_sdk_batch::model::network_interface::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkInterface
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attachment_id(self, input: impl Into<String>) -> Self
pub fn attachment_id(self, input: impl Into<String>) -> Self
The attachment ID for the network interface.
sourcepub fn set_attachment_id(self, input: Option<String>) -> Self
pub fn set_attachment_id(self, input: Option<String>) -> Self
The attachment ID for the network interface.
sourcepub fn ipv6_address(self, input: impl Into<String>) -> Self
pub fn ipv6_address(self, input: impl Into<String>) -> Self
The private IPv6 address for the network interface.
sourcepub fn set_ipv6_address(self, input: Option<String>) -> Self
pub fn set_ipv6_address(self, input: Option<String>) -> Self
The private IPv6 address for the network interface.
sourcepub fn private_ipv4_address(self, input: impl Into<String>) -> Self
pub fn private_ipv4_address(self, input: impl Into<String>) -> Self
The private IPv4 address for the network interface.
sourcepub fn set_private_ipv4_address(self, input: Option<String>) -> Self
pub fn set_private_ipv4_address(self, input: Option<String>) -> Self
The private IPv4 address for the network interface.
sourcepub fn build(self) -> NetworkInterface
pub fn build(self) -> NetworkInterface
Consumes the builder and constructs a NetworkInterface
.