Struct aws_sdk_opensearchserverless::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 capacity_limits(self, input: CapacityLimits) -> Self
pub fn capacity_limits(self, input: CapacityLimits) -> Self
The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units (OCUs). These limits are used to scale your collections based on the current workload. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
sourcepub fn set_capacity_limits(self, input: Option<CapacityLimits>) -> Self
pub fn set_capacity_limits(self, input: Option<CapacityLimits>) -> Self
The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units (OCUs). These limits are used to scale your collections based on the current workload. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
sourcepub fn get_capacity_limits(&self) -> &Option<CapacityLimits>
pub fn get_capacity_limits(&self) -> &Option<CapacityLimits>
The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units (OCUs). These limits are used to scale your collections based on the current workload. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
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