#[non_exhaustive]pub struct CreateAppInputBuilder { /* private fields */ }
Expand description
A builder for CreateAppInput
.
Implementations§
source§impl CreateAppInputBuilder
impl CreateAppInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The domain ID.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The domain ID.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The domain ID.
sourcepub fn user_profile_name(self, input: impl Into<String>) -> Self
pub fn user_profile_name(self, input: impl Into<String>) -> Self
The user profile name. If this value is not set, then SpaceName
must be set.
sourcepub fn set_user_profile_name(self, input: Option<String>) -> Self
pub fn set_user_profile_name(self, input: Option<String>) -> Self
The user profile name. If this value is not set, then SpaceName
must be set.
sourcepub fn get_user_profile_name(&self) -> &Option<String>
pub fn get_user_profile_name(&self) -> &Option<String>
The user profile name. If this value is not set, then SpaceName
must be set.
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. If this value is not set, then UserProfileName
must be set.
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. If this value is not set, then UserProfileName
must be set.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space. If this value is not set, then UserProfileName
must be set.
sourcepub fn set_app_type(self, input: Option<AppType>) -> Self
pub fn set_app_type(self, input: Option<AppType>) -> Self
The type of app.
sourcepub fn get_app_type(&self) -> &Option<AppType>
pub fn get_app_type(&self) -> &Option<AppType>
The type of app.
sourcepub fn app_name(self, input: impl Into<String>) -> Self
pub fn app_name(self, input: impl Into<String>) -> Self
The name of the app.
This field is required.sourcepub fn set_app_name(self, input: Option<String>) -> Self
pub fn set_app_name(self, input: Option<String>) -> Self
The name of the app.
sourcepub fn get_app_name(&self) -> &Option<String>
pub fn get_app_name(&self) -> &Option<String>
The name of the app.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
sourcepub fn resource_spec(self, input: ResourceSpec) -> Self
pub fn resource_spec(self, input: ResourceSpec) -> Self
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the CreateApp
call overrides the value passed as part of the ResourceSpec
configured for the user profile or the domain. If InstanceType
is not specified in any of those three ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with a request validation error.
sourcepub fn set_resource_spec(self, input: Option<ResourceSpec>) -> Self
pub fn set_resource_spec(self, input: Option<ResourceSpec>) -> Self
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the CreateApp
call overrides the value passed as part of the ResourceSpec
configured for the user profile or the domain. If InstanceType
is not specified in any of those three ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with a request validation error.
sourcepub fn get_resource_spec(&self) -> &Option<ResourceSpec>
pub fn get_resource_spec(&self) -> &Option<ResourceSpec>
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the CreateApp
call overrides the value passed as part of the ResourceSpec
configured for the user profile or the domain. If InstanceType
is not specified in any of those three ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with a request validation error.
sourcepub fn build(self) -> Result<CreateAppInput, BuildError>
pub fn build(self) -> Result<CreateAppInput, BuildError>
Consumes the builder and constructs a CreateAppInput
.
source§impl CreateAppInputBuilder
impl CreateAppInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateAppOutput, SdkError<CreateAppError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateAppOutput, SdkError<CreateAppError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppInputBuilder
impl Clone for CreateAppInputBuilder
source§fn clone(&self) -> CreateAppInputBuilder
fn clone(&self) -> CreateAppInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppInputBuilder
impl Debug for CreateAppInputBuilder
source§impl Default for CreateAppInputBuilder
impl Default for CreateAppInputBuilder
source§fn default() -> CreateAppInputBuilder
fn default() -> CreateAppInputBuilder
source§impl PartialEq for CreateAppInputBuilder
impl PartialEq for CreateAppInputBuilder
impl StructuralPartialEq for CreateAppInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAppInputBuilder
impl RefUnwindSafe for CreateAppInputBuilder
impl Send for CreateAppInputBuilder
impl Sync for CreateAppInputBuilder
impl Unpin for CreateAppInputBuilder
impl UnwindSafe for CreateAppInputBuilder
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