#[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 ==
.