Struct aws_sdk_sagemaker::model::user_settings::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for UserSettings
Implementations
sourceimpl Builder
impl Builder
sourcepub fn execution_role(self, input: impl Into<String>) -> Self
pub fn execution_role(self, input: impl Into<String>) -> Self
The execution role for the user.
sourcepub fn set_execution_role(self, input: Option<String>) -> Self
pub fn set_execution_role(self, input: Option<String>) -> Self
The execution role for the user.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
Optional when the CreateDomain.AppNetworkAccessType
parameter is set to PublicInternetOnly
.
Required when the CreateDomain.AppNetworkAccessType
parameter is set to VpcOnly
.
Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
Optional when the CreateDomain.AppNetworkAccessType
parameter is set to PublicInternetOnly
.
Required when the CreateDomain.AppNetworkAccessType
parameter is set to VpcOnly
.
Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
sourcepub fn sharing_settings(self, input: SharingSettings) -> Self
pub fn sharing_settings(self, input: SharingSettings) -> Self
Specifies options for sharing SageMaker Studio notebooks.
sourcepub fn set_sharing_settings(self, input: Option<SharingSettings>) -> Self
pub fn set_sharing_settings(self, input: Option<SharingSettings>) -> Self
Specifies options for sharing SageMaker Studio notebooks.
sourcepub fn jupyter_server_app_settings(
self,
input: JupyterServerAppSettings
) -> Self
pub fn jupyter_server_app_settings(
self,
input: JupyterServerAppSettings
) -> Self
The Jupyter server's app settings.
sourcepub fn set_jupyter_server_app_settings(
self,
input: Option<JupyterServerAppSettings>
) -> Self
pub fn set_jupyter_server_app_settings(
self,
input: Option<JupyterServerAppSettings>
) -> Self
The Jupyter server's app settings.
sourcepub fn kernel_gateway_app_settings(
self,
input: KernelGatewayAppSettings
) -> Self
pub fn kernel_gateway_app_settings(
self,
input: KernelGatewayAppSettings
) -> Self
The kernel gateway app settings.
sourcepub fn set_kernel_gateway_app_settings(
self,
input: Option<KernelGatewayAppSettings>
) -> Self
pub fn set_kernel_gateway_app_settings(
self,
input: Option<KernelGatewayAppSettings>
) -> Self
The kernel gateway app settings.
sourcepub fn tensor_board_app_settings(self, input: TensorBoardAppSettings) -> Self
pub fn tensor_board_app_settings(self, input: TensorBoardAppSettings) -> Self
The TensorBoard app settings.
sourcepub fn set_tensor_board_app_settings(
self,
input: Option<TensorBoardAppSettings>
) -> Self
pub fn set_tensor_board_app_settings(
self,
input: Option<TensorBoardAppSettings>
) -> Self
The TensorBoard app settings.
sourcepub fn r_studio_server_pro_app_settings(
self,
input: RStudioServerProAppSettings
) -> Self
pub fn r_studio_server_pro_app_settings(
self,
input: RStudioServerProAppSettings
) -> Self
A collection of settings that configure user interaction with the RStudioServerPro
app.
sourcepub fn set_r_studio_server_pro_app_settings(
self,
input: Option<RStudioServerProAppSettings>
) -> Self
pub fn set_r_studio_server_pro_app_settings(
self,
input: Option<RStudioServerProAppSettings>
) -> Self
A collection of settings that configure user interaction with the RStudioServerPro
app.
sourcepub fn r_session_app_settings(self, input: RSessionAppSettings) -> Self
pub fn r_session_app_settings(self, input: RSessionAppSettings) -> Self
A collection of settings that configure the RSessionGateway
app.
sourcepub fn set_r_session_app_settings(
self,
input: Option<RSessionAppSettings>
) -> Self
pub fn set_r_session_app_settings(
self,
input: Option<RSessionAppSettings>
) -> Self
A collection of settings that configure the RSessionGateway
app.
sourcepub fn build(self) -> UserSettings
pub fn build(self) -> UserSettings
Consumes the builder and constructs a UserSettings
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more