#[non_exhaustive]pub struct SpaceJupyterLabAppSettingsBuilder { /* private fields */ }
Expand description
A builder for SpaceJupyterLabAppSettings
.
Implementations§
source§impl SpaceJupyterLabAppSettingsBuilder
impl SpaceJupyterLabAppSettingsBuilder
sourcepub fn default_resource_spec(self, input: ResourceSpec) -> Self
pub fn default_resource_spec(self, input: ResourceSpec) -> Self
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
sourcepub fn set_default_resource_spec(self, input: Option<ResourceSpec>) -> Self
pub fn set_default_resource_spec(self, input: Option<ResourceSpec>) -> Self
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
sourcepub fn get_default_resource_spec(&self) -> &Option<ResourceSpec>
pub fn get_default_resource_spec(&self) -> &Option<ResourceSpec>
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
sourcepub fn code_repositories(self, input: CodeRepository) -> Self
pub fn code_repositories(self, input: CodeRepository) -> Self
Appends an item to code_repositories
.
To override the contents of this collection use set_code_repositories
.
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
sourcepub fn set_code_repositories(self, input: Option<Vec<CodeRepository>>) -> Self
pub fn set_code_repositories(self, input: Option<Vec<CodeRepository>>) -> Self
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
sourcepub fn get_code_repositories(&self) -> &Option<Vec<CodeRepository>>
pub fn get_code_repositories(&self) -> &Option<Vec<CodeRepository>>
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
sourcepub fn build(self) -> SpaceJupyterLabAppSettings
pub fn build(self) -> SpaceJupyterLabAppSettings
Consumes the builder and constructs a SpaceJupyterLabAppSettings
.
Trait Implementations§
source§impl Clone for SpaceJupyterLabAppSettingsBuilder
impl Clone for SpaceJupyterLabAppSettingsBuilder
source§fn clone(&self) -> SpaceJupyterLabAppSettingsBuilder
fn clone(&self) -> SpaceJupyterLabAppSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SpaceJupyterLabAppSettingsBuilder
impl Default for SpaceJupyterLabAppSettingsBuilder
source§fn default() -> SpaceJupyterLabAppSettingsBuilder
fn default() -> SpaceJupyterLabAppSettingsBuilder
source§impl PartialEq for SpaceJupyterLabAppSettingsBuilder
impl PartialEq for SpaceJupyterLabAppSettingsBuilder
source§fn eq(&self, other: &SpaceJupyterLabAppSettingsBuilder) -> bool
fn eq(&self, other: &SpaceJupyterLabAppSettingsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SpaceJupyterLabAppSettingsBuilder
Auto Trait Implementations§
impl Freeze for SpaceJupyterLabAppSettingsBuilder
impl RefUnwindSafe for SpaceJupyterLabAppSettingsBuilder
impl Send for SpaceJupyterLabAppSettingsBuilder
impl Sync for SpaceJupyterLabAppSettingsBuilder
impl Unpin for SpaceJupyterLabAppSettingsBuilder
impl UnwindSafe for SpaceJupyterLabAppSettingsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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