#[non_exhaustive]pub struct DevEnvironmentAccessDetailsBuilder { /* private fields */ }
Expand description
A builder for DevEnvironmentAccessDetails
.
Implementations§
source§impl DevEnvironmentAccessDetailsBuilder
impl DevEnvironmentAccessDetailsBuilder
sourcepub fn stream_url(self, input: impl Into<String>) -> Self
pub fn stream_url(self, input: impl Into<String>) -> Self
The URL used to send commands to and from the Dev Environment.
This field is required.sourcepub fn set_stream_url(self, input: Option<String>) -> Self
pub fn set_stream_url(self, input: Option<String>) -> Self
The URL used to send commands to and from the Dev Environment.
sourcepub fn get_stream_url(&self) -> &Option<String>
pub fn get_stream_url(&self) -> &Option<String>
The URL used to send commands to and from the Dev Environment.
sourcepub fn token_value(self, input: impl Into<String>) -> Self
pub fn token_value(self, input: impl Into<String>) -> Self
An encrypted token value that contains session and caller information used to authenticate the connection.
This field is required.sourcepub fn set_token_value(self, input: Option<String>) -> Self
pub fn set_token_value(self, input: Option<String>) -> Self
An encrypted token value that contains session and caller information used to authenticate the connection.
sourcepub fn get_token_value(&self) -> &Option<String>
pub fn get_token_value(&self) -> &Option<String>
An encrypted token value that contains session and caller information used to authenticate the connection.
sourcepub fn build(self) -> Result<DevEnvironmentAccessDetails, BuildError>
pub fn build(self) -> Result<DevEnvironmentAccessDetails, BuildError>
Consumes the builder and constructs a DevEnvironmentAccessDetails
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DevEnvironmentAccessDetailsBuilder
impl Clone for DevEnvironmentAccessDetailsBuilder
source§fn clone(&self) -> DevEnvironmentAccessDetailsBuilder
fn clone(&self) -> DevEnvironmentAccessDetailsBuilder
Returns a copy 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 moresource§impl Default for DevEnvironmentAccessDetailsBuilder
impl Default for DevEnvironmentAccessDetailsBuilder
source§fn default() -> DevEnvironmentAccessDetailsBuilder
fn default() -> DevEnvironmentAccessDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DevEnvironmentAccessDetailsBuilder
impl PartialEq for DevEnvironmentAccessDetailsBuilder
source§fn eq(&self, other: &DevEnvironmentAccessDetailsBuilder) -> bool
fn eq(&self, other: &DevEnvironmentAccessDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DevEnvironmentAccessDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DevEnvironmentAccessDetailsBuilder
impl Send for DevEnvironmentAccessDetailsBuilder
impl Sync for DevEnvironmentAccessDetailsBuilder
impl Unpin for DevEnvironmentAccessDetailsBuilder
impl UnwindSafe for DevEnvironmentAccessDetailsBuilder
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> 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>
Creates a shared type from an unshared type.