#[non_exhaustive]pub struct DevEnvironmentSessionSummaryBuilder { /* private fields */ }
Expand description
A builder for DevEnvironmentSessionSummary
.
Implementations§
source§impl DevEnvironmentSessionSummaryBuilder
impl DevEnvironmentSessionSummaryBuilder
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
This field is required.sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in the space.
This field is required.sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in the space.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project in the space.
sourcepub fn dev_environment_id(self, input: impl Into<String>) -> Self
pub fn dev_environment_id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the Dev Environment.
This field is required.sourcepub fn set_dev_environment_id(self, input: Option<String>) -> Self
pub fn set_dev_environment_id(self, input: Option<String>) -> Self
The system-generated unique ID of the Dev Environment.
sourcepub fn get_dev_environment_id(&self) -> &Option<String>
pub fn get_dev_environment_id(&self) -> &Option<String>
The system-generated unique ID of the Dev Environment.
sourcepub fn started_time(self, input: DateTime) -> Self
pub fn started_time(self, input: DateTime) -> Self
The date and time the session started, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
This field is required.sourcepub fn set_started_time(self, input: Option<DateTime>) -> Self
pub fn set_started_time(self, input: Option<DateTime>) -> Self
The date and time the session started, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn get_started_time(&self) -> &Option<DateTime>
pub fn get_started_time(&self) -> &Option<DateTime>
The date and time the session started, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the Dev Environment session.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The system-generated unique ID of the Dev Environment session.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The system-generated unique ID of the Dev Environment session.
sourcepub fn build(self) -> Result<DevEnvironmentSessionSummary, BuildError>
pub fn build(self) -> Result<DevEnvironmentSessionSummary, BuildError>
Consumes the builder and constructs a DevEnvironmentSessionSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DevEnvironmentSessionSummaryBuilder
impl Clone for DevEnvironmentSessionSummaryBuilder
source§fn clone(&self) -> DevEnvironmentSessionSummaryBuilder
fn clone(&self) -> DevEnvironmentSessionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DevEnvironmentSessionSummaryBuilder
impl Default for DevEnvironmentSessionSummaryBuilder
source§fn default() -> DevEnvironmentSessionSummaryBuilder
fn default() -> DevEnvironmentSessionSummaryBuilder
source§impl PartialEq for DevEnvironmentSessionSummaryBuilder
impl PartialEq for DevEnvironmentSessionSummaryBuilder
source§fn eq(&self, other: &DevEnvironmentSessionSummaryBuilder) -> bool
fn eq(&self, other: &DevEnvironmentSessionSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DevEnvironmentSessionSummaryBuilder
Auto Trait Implementations§
impl Freeze for DevEnvironmentSessionSummaryBuilder
impl RefUnwindSafe for DevEnvironmentSessionSummaryBuilder
impl Send for DevEnvironmentSessionSummaryBuilder
impl Sync for DevEnvironmentSessionSummaryBuilder
impl Unpin for DevEnvironmentSessionSummaryBuilder
impl UnwindSafe for DevEnvironmentSessionSummaryBuilder
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
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more