Struct aws_sdk_fsx::types::builders::AggregateConfigurationBuilder
source · #[non_exhaustive]pub struct AggregateConfigurationBuilder { /* private fields */ }
Expand description
A builder for AggregateConfiguration
.
Implementations§
source§impl AggregateConfigurationBuilder
impl AggregateConfigurationBuilder
sourcepub fn aggregates(self, input: impl Into<String>) -> Self
pub fn aggregates(self, input: impl Into<String>) -> Self
Appends an item to aggregates
.
To override the contents of this collection use set_aggregates
.
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The strings in the value of
Aggregates
are not are not formatted asaggrX
, where X is a number between 1 and 6. -
The value of
Aggregates
contains aggregates that are not present. -
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
sourcepub fn set_aggregates(self, input: Option<Vec<String>>) -> Self
pub fn set_aggregates(self, input: Option<Vec<String>>) -> Self
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The strings in the value of
Aggregates
are not are not formatted asaggrX
, where X is a number between 1 and 6. -
The value of
Aggregates
contains aggregates that are not present. -
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
sourcepub fn get_aggregates(&self) -> &Option<Vec<String>>
pub fn get_aggregates(&self) -> &Option<Vec<String>>
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The strings in the value of
Aggregates
are not are not formatted asaggrX
, where X is a number between 1 and 6. -
The value of
Aggregates
contains aggregates that are not present. -
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
sourcepub fn total_constituents(self, input: i32) -> Self
pub fn total_constituents(self, input: i32) -> Self
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
sourcepub fn set_total_constituents(self, input: Option<i32>) -> Self
pub fn set_total_constituents(self, input: Option<i32>) -> Self
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
sourcepub fn get_total_constituents(&self) -> &Option<i32>
pub fn get_total_constituents(&self) -> &Option<i32>
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
sourcepub fn build(self) -> AggregateConfiguration
pub fn build(self) -> AggregateConfiguration
Consumes the builder and constructs a AggregateConfiguration
.
Trait Implementations§
source§impl Clone for AggregateConfigurationBuilder
impl Clone for AggregateConfigurationBuilder
source§fn clone(&self) -> AggregateConfigurationBuilder
fn clone(&self) -> AggregateConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AggregateConfigurationBuilder
impl Default for AggregateConfigurationBuilder
source§fn default() -> AggregateConfigurationBuilder
fn default() -> AggregateConfigurationBuilder
source§impl PartialEq for AggregateConfigurationBuilder
impl PartialEq for AggregateConfigurationBuilder
source§fn eq(&self, other: &AggregateConfigurationBuilder) -> bool
fn eq(&self, other: &AggregateConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AggregateConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AggregateConfigurationBuilder
impl RefUnwindSafe for AggregateConfigurationBuilder
impl Send for AggregateConfigurationBuilder
impl Sync for AggregateConfigurationBuilder
impl Unpin for AggregateConfigurationBuilder
impl UnwindSafe for AggregateConfigurationBuilder
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> 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