#[non_exhaustive]pub struct DevEnvironmentSummaryBuilder { /* private fields */ }
Expand description
A builder for DevEnvironmentSummary
.
Implementations§
source§impl DevEnvironmentSummaryBuilder
impl DevEnvironmentSummaryBuilder
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.
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.
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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The system-generated unique ID for the Dev Environment.
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 for the Dev Environment.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The system-generated unique ID for the Dev Environment.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
This field is required.sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn creator_id(self, input: impl Into<String>) -> Self
pub fn creator_id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the user who created the Dev Environment.
This field is required.sourcepub fn set_creator_id(self, input: Option<String>) -> Self
pub fn set_creator_id(self, input: Option<String>) -> Self
The system-generated unique ID of the user who created the Dev Environment.
sourcepub fn get_creator_id(&self) -> &Option<String>
pub fn get_creator_id(&self) -> &Option<String>
The system-generated unique ID of the user who created the Dev Environment.
sourcepub fn status(self, input: DevEnvironmentStatus) -> Self
pub fn status(self, input: DevEnvironmentStatus) -> Self
The status of the Dev Environment.
This field is required.sourcepub fn set_status(self, input: Option<DevEnvironmentStatus>) -> Self
pub fn set_status(self, input: Option<DevEnvironmentStatus>) -> Self
The status of the Dev Environment.
sourcepub fn get_status(&self) -> &Option<DevEnvironmentStatus>
pub fn get_status(&self) -> &Option<DevEnvironmentStatus>
The status of the Dev Environment.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the status.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason for the status.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The reason for the status.
sourcepub fn repositories(self, input: DevEnvironmentRepositorySummary) -> Self
pub fn repositories(self, input: DevEnvironmentRepositorySummary) -> Self
Appends an item to repositories
.
To override the contents of this collection use set_repositories
.
Information about the repositories that will be cloned into the Dev Environment. If no rvalue is specified, no repository is cloned.
sourcepub fn set_repositories(
self,
input: Option<Vec<DevEnvironmentRepositorySummary>>
) -> Self
pub fn set_repositories( self, input: Option<Vec<DevEnvironmentRepositorySummary>> ) -> Self
Information about the repositories that will be cloned into the Dev Environment. If no rvalue is specified, no repository is cloned.
sourcepub fn get_repositories(&self) -> &Option<Vec<DevEnvironmentRepositorySummary>>
pub fn get_repositories(&self) -> &Option<Vec<DevEnvironmentRepositorySummary>>
Information about the repositories that will be cloned into the Dev Environment. If no rvalue is specified, no repository is cloned.
sourcepub fn alias(self, input: impl Into<String>) -> Self
pub fn alias(self, input: impl Into<String>) -> Self
The user-specified alias for the Dev Environment.
sourcepub fn set_alias(self, input: Option<String>) -> Self
pub fn set_alias(self, input: Option<String>) -> Self
The user-specified alias for the Dev Environment.
sourcepub fn ides(self, input: Ide) -> Self
pub fn ides(self, input: Ide) -> Self
Appends an item to ides
.
To override the contents of this collection use set_ides
.
Information about the integrated development environment (IDE) configured for a Dev Environment.
sourcepub fn set_ides(self, input: Option<Vec<Ide>>) -> Self
pub fn set_ides(self, input: Option<Vec<Ide>>) -> Self
Information about the integrated development environment (IDE) configured for a Dev Environment.
sourcepub fn get_ides(&self) -> &Option<Vec<Ide>>
pub fn get_ides(&self) -> &Option<Vec<Ide>>
Information about the integrated development environment (IDE) configured for a Dev Environment.
sourcepub fn instance_type(self, input: InstanceType) -> Self
pub fn instance_type(self, input: InstanceType) -> Self
The Amazon EC2 instace type used for the Dev Environment.
This field is required.sourcepub fn set_instance_type(self, input: Option<InstanceType>) -> Self
pub fn set_instance_type(self, input: Option<InstanceType>) -> Self
The Amazon EC2 instace type used for the Dev Environment.
sourcepub fn get_instance_type(&self) -> &Option<InstanceType>
pub fn get_instance_type(&self) -> &Option<InstanceType>
The Amazon EC2 instace type used for the Dev Environment.
sourcepub fn inactivity_timeout_minutes(self, input: i32) -> Self
pub fn inactivity_timeout_minutes(self, input: i32) -> Self
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Dev Environments consume compute minutes when running.
This field is required.sourcepub fn set_inactivity_timeout_minutes(self, input: Option<i32>) -> Self
pub fn set_inactivity_timeout_minutes(self, input: Option<i32>) -> Self
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Dev Environments consume compute minutes when running.
sourcepub fn get_inactivity_timeout_minutes(&self) -> &Option<i32>
pub fn get_inactivity_timeout_minutes(&self) -> &Option<i32>
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Dev Environments consume compute minutes when running.
sourcepub fn persistent_storage(self, input: PersistentStorage) -> Self
pub fn persistent_storage(self, input: PersistentStorage) -> Self
Information about the configuration of persistent storage for the Dev Environment.
This field is required.sourcepub fn set_persistent_storage(self, input: Option<PersistentStorage>) -> Self
pub fn set_persistent_storage(self, input: Option<PersistentStorage>) -> Self
Information about the configuration of persistent storage for the Dev Environment.
sourcepub fn get_persistent_storage(&self) -> &Option<PersistentStorage>
pub fn get_persistent_storage(&self) -> &Option<PersistentStorage>
Information about the configuration of persistent storage for the Dev Environment.
sourcepub fn build(self) -> Result<DevEnvironmentSummary, BuildError>
pub fn build(self) -> Result<DevEnvironmentSummary, BuildError>
Consumes the builder and constructs a DevEnvironmentSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DevEnvironmentSummaryBuilder
impl Clone for DevEnvironmentSummaryBuilder
source§fn clone(&self) -> DevEnvironmentSummaryBuilder
fn clone(&self) -> DevEnvironmentSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DevEnvironmentSummaryBuilder
impl Debug for DevEnvironmentSummaryBuilder
source§impl Default for DevEnvironmentSummaryBuilder
impl Default for DevEnvironmentSummaryBuilder
source§fn default() -> DevEnvironmentSummaryBuilder
fn default() -> DevEnvironmentSummaryBuilder
source§impl PartialEq for DevEnvironmentSummaryBuilder
impl PartialEq for DevEnvironmentSummaryBuilder
source§fn eq(&self, other: &DevEnvironmentSummaryBuilder) -> bool
fn eq(&self, other: &DevEnvironmentSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.