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 ==
.