pub struct RegisterNamespaceOptionsBuilder { /* private fields */ }Expand description
Builder for RegisterNamespaceOptions.
Implementations§
Source§impl RegisterNamespaceOptionsBuilder
impl RegisterNamespaceOptionsBuilder
Sourcepub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Description (required)
Sourcepub fn owner_email<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn owner_email<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Owner’s email
Sourcepub fn workflow_execution_retention_period(
&mut self,
value: Duration,
) -> &mut Self
pub fn workflow_execution_retention_period( &mut self, value: Duration, ) -> &mut Self
Workflow execution retention period
Sourcepub fn active_cluster_name<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn active_cluster_name<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Active cluster name
Sourcepub fn security_token<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn security_token<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Security Token
Sourcepub fn is_global_namespace(&mut self, value: bool) -> &mut Self
pub fn is_global_namespace(&mut self, value: bool) -> &mut Self
Global namespace
Sourcepub fn history_archival_state<VALUE: Into<ArchivalState>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn history_archival_state<VALUE: Into<ArchivalState>>( &mut self, value: VALUE, ) -> &mut Self
History Archival setting
Sourcepub fn history_archival_uri<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn history_archival_uri<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
History Archival uri
Sourcepub fn visibility_archival_state<VALUE: Into<ArchivalState>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn visibility_archival_state<VALUE: Into<ArchivalState>>( &mut self, value: VALUE, ) -> &mut Self
Visibility Archival setting
Sourcepub fn visibility_archival_uri<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn visibility_archival_uri<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Visibility Archival uri
Sourcepub fn build(
&self,
) -> Result<RegisterNamespaceOptions, RegisterNamespaceOptionsBuilderError>
pub fn build( &self, ) -> Result<RegisterNamespaceOptions, RegisterNamespaceOptionsBuilderError>
Source§impl RegisterNamespaceOptionsBuilder
impl RegisterNamespaceOptionsBuilder
Sourcepub fn cluster_names(&mut self, clusters: Vec<String>)
pub fn cluster_names(&mut self, clusters: Vec<String>)
Custum builder function for convenience Warning: setting cluster_names could blow away any previously set cluster configs
Trait Implementations§
Source§impl Clone for RegisterNamespaceOptionsBuilder
impl Clone for RegisterNamespaceOptionsBuilder
Source§fn clone(&self) -> RegisterNamespaceOptionsBuilder
fn clone(&self) -> RegisterNamespaceOptionsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegisterNamespaceOptionsBuilder
impl RefUnwindSafe for RegisterNamespaceOptionsBuilder
impl Send for RegisterNamespaceOptionsBuilder
impl Sync for RegisterNamespaceOptionsBuilder
impl Unpin for RegisterNamespaceOptionsBuilder
impl UnwindSafe for RegisterNamespaceOptionsBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request