Struct aws_sdk_sagemaker::model::source_ip_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SourceIpConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cidrs(self, input: impl Into<String>) -> Self
pub fn cidrs(self, input: impl Into<String>) -> Self
Appends an item to cidrs
.
To override the contents of this collection use set_cidrs
.
A list of one to ten Classless Inter-Domain Routing (CIDR) values.
Maximum: Ten CIDR values
The following Length Constraints apply to individual CIDR values in the CIDR value list.
sourcepub fn set_cidrs(self, input: Option<Vec<String>>) -> Self
pub fn set_cidrs(self, input: Option<Vec<String>>) -> Self
A list of one to ten Classless Inter-Domain Routing (CIDR) values.
Maximum: Ten CIDR values
The following Length Constraints apply to individual CIDR values in the CIDR value list.
sourcepub fn build(self) -> SourceIpConfig
pub fn build(self) -> SourceIpConfig
Consumes the builder and constructs a SourceIpConfig
.