#[non_exhaustive]pub struct HostHeaderConditionConfigBuilder { /* private fields */ }
Expand description
A builder for HostHeaderConditionConfig
.
Implementations§
source§impl HostHeaderConditionConfigBuilder
impl HostHeaderConditionConfigBuilder
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
sourcepub fn build(self) -> HostHeaderConditionConfig
pub fn build(self) -> HostHeaderConditionConfig
Consumes the builder and constructs a HostHeaderConditionConfig
.
Trait Implementations§
source§impl Clone for HostHeaderConditionConfigBuilder
impl Clone for HostHeaderConditionConfigBuilder
source§fn clone(&self) -> HostHeaderConditionConfigBuilder
fn clone(&self) -> HostHeaderConditionConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for HostHeaderConditionConfigBuilder
impl Default for HostHeaderConditionConfigBuilder
source§fn default() -> HostHeaderConditionConfigBuilder
fn default() -> HostHeaderConditionConfigBuilder
source§impl PartialEq for HostHeaderConditionConfigBuilder
impl PartialEq for HostHeaderConditionConfigBuilder
source§fn eq(&self, other: &HostHeaderConditionConfigBuilder) -> bool
fn eq(&self, other: &HostHeaderConditionConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.