pub struct NamespaceVaultConfigurationBuilder { /* private fields */ }
Expand description
Builder for NamespaceVaultConfiguration
.
Implementations§
Source§impl NamespaceVaultConfigurationBuilder
impl NamespaceVaultConfigurationBuilder
Sourcepub fn _default(&mut self, value: String) -> &mut Self
pub fn _default(&mut self, value: String) -> &mut Self
Default is the Vault cluster used by jobs in this namespace that don’t specify a cluster of their own.
Sourcepub fn allowed(&mut self, value: Vec<String>) -> &mut Self
pub fn allowed(&mut self, value: Vec<String>) -> &mut Self
Allowed specifies the Vault clusters that are allowed to be used by jobs
in this namespace. By default, all clusters are allowed. If an empty list
is provided only the namespace’s default cluster is allowed. This field
supports wildcard globbing through the use of *
for multi-character
matching. This field cannot be used with Denied.
Sourcepub fn denied(&mut self, value: Vec<String>) -> &mut Self
pub fn denied(&mut self, value: Vec<String>) -> &mut Self
Denied specifies the Vault clusters that are not allowed to be used by
jobs in this namespace. This field supports wildcard globbing through the
use of *
for multi-character matching. If specified, any cluster is
allowed to be used, except for those that match any of these patterns.
This field cannot be used with Allowed.
Sourcepub fn build(
&self,
) -> Result<NamespaceVaultConfiguration, NamespaceVaultConfigurationBuilderError>
pub fn build( &self, ) -> Result<NamespaceVaultConfiguration, NamespaceVaultConfigurationBuilderError>
Trait Implementations§
Source§impl Clone for NamespaceVaultConfigurationBuilder
impl Clone for NamespaceVaultConfigurationBuilder
Source§fn clone(&self) -> NamespaceVaultConfigurationBuilder
fn clone(&self) -> NamespaceVaultConfigurationBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more