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 build(self) -> Result<UpdateAccountSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateAccountSettingsInput, BuildError>
Consumes the builder and constructs a UpdateAccountSettingsInput
.
Trait Implementations§
source§impl Clone for UpdateAccountSettingsInputBuilder
impl Clone for UpdateAccountSettingsInputBuilder
source§fn clone(&self) -> UpdateAccountSettingsInputBuilder
fn clone(&self) -> UpdateAccountSettingsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateAccountSettingsInputBuilder
impl Default for UpdateAccountSettingsInputBuilder
source§fn default() -> UpdateAccountSettingsInputBuilder
fn default() -> UpdateAccountSettingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateAccountSettingsInputBuilder> for UpdateAccountSettingsInputBuilder
impl PartialEq<UpdateAccountSettingsInputBuilder> for UpdateAccountSettingsInputBuilder
source§fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.