Struct aws_sdk_sagemaker::types::JupyterServerAppSettings
source · #[non_exhaustive]pub struct JupyterServerAppSettings {
pub default_resource_spec: Option<ResourceSpec>,
pub lifecycle_config_arns: Option<Vec<String>>,
pub code_repositories: Option<Vec<CodeRepository>>,
}
Expand description
The JupyterServer app settings.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.default_resource_spec: Option<ResourceSpec>
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns
parameter, then this parameter is also required.
lifecycle_config_arns: Option<Vec<String>>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec
parameter is also required.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
code_repositories: Option<Vec<CodeRepository>>
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.
Implementations§
source§impl JupyterServerAppSettings
impl JupyterServerAppSettings
sourcepub fn default_resource_spec(&self) -> Option<&ResourceSpec>
pub fn default_resource_spec(&self) -> Option<&ResourceSpec>
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns
parameter, then this parameter is also required.
sourcepub fn lifecycle_config_arns(&self) -> &[String]
pub fn lifecycle_config_arns(&self) -> &[String]
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec
parameter is also required.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .lifecycle_config_arns.is_none()
.
sourcepub fn code_repositories(&self) -> &[CodeRepository]
pub fn code_repositories(&self) -> &[CodeRepository]
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .code_repositories.is_none()
.
source§impl JupyterServerAppSettings
impl JupyterServerAppSettings
sourcepub fn builder() -> JupyterServerAppSettingsBuilder
pub fn builder() -> JupyterServerAppSettingsBuilder
Creates a new builder-style object to manufacture JupyterServerAppSettings
.
Trait Implementations§
source§impl Clone for JupyterServerAppSettings
impl Clone for JupyterServerAppSettings
source§fn clone(&self) -> JupyterServerAppSettings
fn clone(&self) -> JupyterServerAppSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JupyterServerAppSettings
impl Debug for JupyterServerAppSettings
source§impl PartialEq for JupyterServerAppSettings
impl PartialEq for JupyterServerAppSettings
impl StructuralPartialEq for JupyterServerAppSettings
Auto Trait Implementations§
impl Freeze for JupyterServerAppSettings
impl RefUnwindSafe for JupyterServerAppSettings
impl Send for JupyterServerAppSettings
impl Sync for JupyterServerAppSettings
impl Unpin for JupyterServerAppSettings
impl UnwindSafe for JupyterServerAppSettings
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