Struct aws_sdk_codecatalyst::operation::get_dev_environment::builders::GetDevEnvironmentOutputBuilder
source · #[non_exhaustive]pub struct GetDevEnvironmentOutputBuilder { /* private fields */ }
Expand description
A builder for GetDevEnvironmentOutput
.
Implementations§
source§impl GetDevEnvironmentOutputBuilder
impl GetDevEnvironmentOutputBuilder
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 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.
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.
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 current 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 current status of the Dev Environment.
sourcepub fn get_status(&self) -> &Option<DevEnvironmentStatus>
pub fn get_status(&self) -> &Option<DevEnvironmentStatus>
The current 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
.
The source repository that contains the branch cloned into the Dev Environment.
sourcepub fn set_repositories(
self,
input: Option<Vec<DevEnvironmentRepositorySummary>>
) -> Self
pub fn set_repositories( self, input: Option<Vec<DevEnvironmentRepositorySummary>> ) -> Self
The source repository that contains the branch cloned into the Dev Environment.
sourcepub fn get_repositories(&self) -> &Option<Vec<DevEnvironmentRepositorySummary>>
pub fn get_repositories(&self) -> &Option<Vec<DevEnvironmentRepositorySummary>>
The source repository that contains the branch cloned into the Dev Environment.
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 the 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 the 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 the Dev Environment.
sourcepub fn instance_type(self, input: InstanceType) -> Self
pub fn instance_type(self, input: InstanceType) -> Self
The Amazon EC2 instace type to use 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 to use 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 to use 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.
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.
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.
sourcepub fn persistent_storage(self, input: PersistentStorage) -> Self
pub fn persistent_storage(self, input: PersistentStorage) -> Self
Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.
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 amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.
sourcepub fn get_persistent_storage(&self) -> &Option<PersistentStorage>
pub fn get_persistent_storage(&self) -> &Option<PersistentStorage>
Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.
sourcepub fn vpc_connection_name(self, input: impl Into<String>) -> Self
pub fn vpc_connection_name(self, input: impl Into<String>) -> Self
The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.
sourcepub fn set_vpc_connection_name(self, input: Option<String>) -> Self
pub fn set_vpc_connection_name(self, input: Option<String>) -> Self
The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.
sourcepub fn get_vpc_connection_name(&self) -> &Option<String>
pub fn get_vpc_connection_name(&self) -> &Option<String>
The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.
sourcepub fn build(self) -> Result<GetDevEnvironmentOutput, BuildError>
pub fn build(self) -> Result<GetDevEnvironmentOutput, BuildError>
Consumes the builder and constructs a GetDevEnvironmentOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetDevEnvironmentOutputBuilder
impl Clone for GetDevEnvironmentOutputBuilder
source§fn clone(&self) -> GetDevEnvironmentOutputBuilder
fn clone(&self) -> GetDevEnvironmentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDevEnvironmentOutputBuilder
impl Default for GetDevEnvironmentOutputBuilder
source§fn default() -> GetDevEnvironmentOutputBuilder
fn default() -> GetDevEnvironmentOutputBuilder
source§impl PartialEq for GetDevEnvironmentOutputBuilder
impl PartialEq for GetDevEnvironmentOutputBuilder
source§fn eq(&self, other: &GetDevEnvironmentOutputBuilder) -> bool
fn eq(&self, other: &GetDevEnvironmentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDevEnvironmentOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDevEnvironmentOutputBuilder
impl RefUnwindSafe for GetDevEnvironmentOutputBuilder
impl Send for GetDevEnvironmentOutputBuilder
impl Sync for GetDevEnvironmentOutputBuilder
impl Unpin for GetDevEnvironmentOutputBuilder
impl UnwindSafe for GetDevEnvironmentOutputBuilder
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