#[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
source§fn eq(&self, other: &CreateAppInputBuilder) -> bool
fn eq(&self, other: &CreateAppInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.