#[non_exhaustive]pub struct CreateSpaceInputBuilder { /* private fields */ }
Expand description
A builder for CreateSpaceInput
.
Implementations§
source§impl CreateSpaceInputBuilder
impl CreateSpaceInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the associated domain.
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 ID of the associated domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the associated domain.
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.
This field is required.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.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search
API.
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search
API.
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search
API.
sourcepub fn space_settings(self, input: SpaceSettings) -> Self
pub fn space_settings(self, input: SpaceSettings) -> Self
A collection of space settings.
sourcepub fn set_space_settings(self, input: Option<SpaceSettings>) -> Self
pub fn set_space_settings(self, input: Option<SpaceSettings>) -> Self
A collection of space settings.
sourcepub fn get_space_settings(&self) -> &Option<SpaceSettings>
pub fn get_space_settings(&self) -> &Option<SpaceSettings>
A collection of space settings.
sourcepub fn ownership_settings(self, input: OwnershipSettings) -> Self
pub fn ownership_settings(self, input: OwnershipSettings) -> Self
A collection of ownership settings.
sourcepub fn set_ownership_settings(self, input: Option<OwnershipSettings>) -> Self
pub fn set_ownership_settings(self, input: Option<OwnershipSettings>) -> Self
A collection of ownership settings.
sourcepub fn get_ownership_settings(&self) -> &Option<OwnershipSettings>
pub fn get_ownership_settings(&self) -> &Option<OwnershipSettings>
A collection of ownership settings.
sourcepub fn space_sharing_settings(self, input: SpaceSharingSettings) -> Self
pub fn space_sharing_settings(self, input: SpaceSharingSettings) -> Self
A collection of space sharing settings.
sourcepub fn set_space_sharing_settings(
self,
input: Option<SpaceSharingSettings>,
) -> Self
pub fn set_space_sharing_settings( self, input: Option<SpaceSharingSettings>, ) -> Self
A collection of space sharing settings.
sourcepub fn get_space_sharing_settings(&self) -> &Option<SpaceSharingSettings>
pub fn get_space_sharing_settings(&self) -> &Option<SpaceSharingSettings>
A collection of space sharing settings.
sourcepub fn space_display_name(self, input: impl Into<String>) -> Self
pub fn space_display_name(self, input: impl Into<String>) -> Self
The name of the space that appears in the SageMaker Studio UI.
sourcepub fn set_space_display_name(self, input: Option<String>) -> Self
pub fn set_space_display_name(self, input: Option<String>) -> Self
The name of the space that appears in the SageMaker Studio UI.
sourcepub fn get_space_display_name(&self) -> &Option<String>
pub fn get_space_display_name(&self) -> &Option<String>
The name of the space that appears in the SageMaker Studio UI.
sourcepub fn build(self) -> Result<CreateSpaceInput, BuildError>
pub fn build(self) -> Result<CreateSpaceInput, BuildError>
Consumes the builder and constructs a CreateSpaceInput
.
source§impl CreateSpaceInputBuilder
impl CreateSpaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateSpaceOutput, SdkError<CreateSpaceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateSpaceOutput, SdkError<CreateSpaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSpaceInputBuilder
impl Clone for CreateSpaceInputBuilder
source§fn clone(&self) -> CreateSpaceInputBuilder
fn clone(&self) -> CreateSpaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSpaceInputBuilder
impl Debug for CreateSpaceInputBuilder
source§impl Default for CreateSpaceInputBuilder
impl Default for CreateSpaceInputBuilder
source§fn default() -> CreateSpaceInputBuilder
fn default() -> CreateSpaceInputBuilder
source§impl PartialEq for CreateSpaceInputBuilder
impl PartialEq for CreateSpaceInputBuilder
impl StructuralPartialEq for CreateSpaceInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSpaceInputBuilder
impl RefUnwindSafe for CreateSpaceInputBuilder
impl Send for CreateSpaceInputBuilder
impl Sync for CreateSpaceInputBuilder
impl Unpin for CreateSpaceInputBuilder
impl UnwindSafe for CreateSpaceInputBuilder
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