#[non_exhaustive]pub struct CreateAggregateConfigurationBuilder { /* private fields */ }
Expand description
A builder for CreateAggregateConfiguration
.
Implementations§
source§impl CreateAggregateConfigurationBuilder
impl CreateAggregateConfigurationBuilder
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
.
Used to specify the names of aggregates on which the volume will be created.
sourcepub fn set_aggregates(self, input: Option<Vec<String>>) -> Self
pub fn set_aggregates(self, input: Option<Vec<String>>) -> Self
Used to specify the names of aggregates on which the volume will be created.
sourcepub fn get_aggregates(&self) -> &Option<Vec<String>>
pub fn get_aggregates(&self) -> &Option<Vec<String>>
Used to specify the names of aggregates on which the volume will be created.
sourcepub fn constituents_per_aggregate(self, input: i32) -> Self
pub fn constituents_per_aggregate(self, input: i32) -> Self
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field cannot be provided when creating a FlexVol volume.
sourcepub fn set_constituents_per_aggregate(self, input: Option<i32>) -> Self
pub fn set_constituents_per_aggregate(self, input: Option<i32>) -> Self
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field cannot be provided when creating a FlexVol volume.
sourcepub fn get_constituents_per_aggregate(&self) -> &Option<i32>
pub fn get_constituents_per_aggregate(&self) -> &Option<i32>
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field cannot be provided when creating a FlexVol volume.
sourcepub fn build(self) -> CreateAggregateConfiguration
pub fn build(self) -> CreateAggregateConfiguration
Consumes the builder and constructs a CreateAggregateConfiguration
.
Trait Implementations§
source§impl Clone for CreateAggregateConfigurationBuilder
impl Clone for CreateAggregateConfigurationBuilder
source§fn clone(&self) -> CreateAggregateConfigurationBuilder
fn clone(&self) -> CreateAggregateConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateAggregateConfigurationBuilder
impl Default for CreateAggregateConfigurationBuilder
source§fn default() -> CreateAggregateConfigurationBuilder
fn default() -> CreateAggregateConfigurationBuilder
source§impl PartialEq for CreateAggregateConfigurationBuilder
impl PartialEq for CreateAggregateConfigurationBuilder
source§fn eq(&self, other: &CreateAggregateConfigurationBuilder) -> bool
fn eq(&self, other: &CreateAggregateConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.