Struct aws_sdk_quicksight::operation::update_spice_capacity_configuration::builders::UpdateSpiceCapacityConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateSpiceCapacityConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateSpiceCapacityConfigurationInput.
Implementations§
source§impl UpdateSpiceCapacityConfigurationInputBuilder
impl UpdateSpiceCapacityConfigurationInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that contains the SPICE configuration that you want to update.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that contains the SPICE configuration that you want to update.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that contains the SPICE configuration that you want to update.
sourcepub fn purchase_mode(self, input: PurchaseMode) -> Self
pub fn purchase_mode(self, input: PurchaseMode) -> Self
Determines how SPICE capacity can be purchased. The following options are available.
-
MANUAL: SPICE capacity can only be purchased manually. -
AUTO_PURCHASE: Extra SPICE capacity is automatically purchased on your behalf as needed. SPICE capacity can also be purchased manually with this option.
sourcepub fn set_purchase_mode(self, input: Option<PurchaseMode>) -> Self
pub fn set_purchase_mode(self, input: Option<PurchaseMode>) -> Self
Determines how SPICE capacity can be purchased. The following options are available.
-
MANUAL: SPICE capacity can only be purchased manually. -
AUTO_PURCHASE: Extra SPICE capacity is automatically purchased on your behalf as needed. SPICE capacity can also be purchased manually with this option.
sourcepub fn get_purchase_mode(&self) -> &Option<PurchaseMode>
pub fn get_purchase_mode(&self) -> &Option<PurchaseMode>
Determines how SPICE capacity can be purchased. The following options are available.
-
MANUAL: SPICE capacity can only be purchased manually. -
AUTO_PURCHASE: Extra SPICE capacity is automatically purchased on your behalf as needed. SPICE capacity can also be purchased manually with this option.
sourcepub fn build(self) -> Result<UpdateSpiceCapacityConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateSpiceCapacityConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateSpiceCapacityConfigurationInput.
source§impl UpdateSpiceCapacityConfigurationInputBuilder
impl UpdateSpiceCapacityConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateSpiceCapacityConfigurationOutput, SdkError<UpdateSPICECapacityConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateSpiceCapacityConfigurationOutput, SdkError<UpdateSPICECapacityConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSpiceCapacityConfigurationInputBuilder
impl Clone for UpdateSpiceCapacityConfigurationInputBuilder
source§fn clone(&self) -> UpdateSpiceCapacityConfigurationInputBuilder
fn clone(&self) -> UpdateSpiceCapacityConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateSpiceCapacityConfigurationInputBuilder
impl Default for UpdateSpiceCapacityConfigurationInputBuilder
source§fn default() -> UpdateSpiceCapacityConfigurationInputBuilder
fn default() -> UpdateSpiceCapacityConfigurationInputBuilder
source§impl PartialEq for UpdateSpiceCapacityConfigurationInputBuilder
impl PartialEq for UpdateSpiceCapacityConfigurationInputBuilder
source§fn eq(&self, other: &UpdateSpiceCapacityConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateSpiceCapacityConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateSpiceCapacityConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSpiceCapacityConfigurationInputBuilder
impl RefUnwindSafe for UpdateSpiceCapacityConfigurationInputBuilder
impl Send for UpdateSpiceCapacityConfigurationInputBuilder
impl Sync for UpdateSpiceCapacityConfigurationInputBuilder
impl Unpin for UpdateSpiceCapacityConfigurationInputBuilder
impl UnwindSafe for UpdateSpiceCapacityConfigurationInputBuilder
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