Struct aws_sdk_timestreamquery::operation::update_account_settings::builders::UpdateAccountSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdateAccountSettingsInputBuilder { /* private fields */ }Expand description
A builder for UpdateAccountSettingsInput.
Implementations§
source§impl UpdateAccountSettingsInputBuilder
impl UpdateAccountSettingsInputBuilder
sourcepub fn max_query_tcu(self, input: i32) -> Self
pub fn max_query_tcu(self, input: i32) -> Self
The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.
The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.
sourcepub fn set_max_query_tcu(self, input: Option<i32>) -> Self
pub fn set_max_query_tcu(self, input: Option<i32>) -> Self
The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.
The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.
sourcepub fn get_max_query_tcu(&self) -> &Option<i32>
pub fn get_max_query_tcu(&self) -> &Option<i32>
The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.
The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.
sourcepub fn query_pricing_model(self, input: QueryPricingModel) -> Self
pub fn query_pricing_model(self, input: QueryPricingModel) -> Self
The pricing model for queries in an account.
sourcepub fn set_query_pricing_model(self, input: Option<QueryPricingModel>) -> Self
pub fn set_query_pricing_model(self, input: Option<QueryPricingModel>) -> Self
The pricing model for queries in an account.
sourcepub fn get_query_pricing_model(&self) -> &Option<QueryPricingModel>
pub fn get_query_pricing_model(&self) -> &Option<QueryPricingModel>
The pricing model for queries in an account.
sourcepub fn build(self) -> Result<UpdateAccountSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateAccountSettingsInput, BuildError>
Consumes the builder and constructs a UpdateAccountSettingsInput.
source§impl UpdateAccountSettingsInputBuilder
impl UpdateAccountSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAccountSettingsInputBuilder
impl Clone for UpdateAccountSettingsInputBuilder
source§fn clone(&self) -> UpdateAccountSettingsInputBuilder
fn clone(&self) -> UpdateAccountSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAccountSettingsInputBuilder
impl Default for UpdateAccountSettingsInputBuilder
source§fn default() -> UpdateAccountSettingsInputBuilder
fn default() -> UpdateAccountSettingsInputBuilder
source§impl PartialEq for UpdateAccountSettingsInputBuilder
impl PartialEq for UpdateAccountSettingsInputBuilder
source§fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAccountSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAccountSettingsInputBuilder
impl RefUnwindSafe for UpdateAccountSettingsInputBuilder
impl Send for UpdateAccountSettingsInputBuilder
impl Sync for UpdateAccountSettingsInputBuilder
impl Unpin for UpdateAccountSettingsInputBuilder
impl UnwindSafe for UpdateAccountSettingsInputBuilder
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