Struct aws_sdk_fsx::model::ontap_volume_configuration::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for OntapVolumeConfiguration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn flex_cache_endpoint_type(self, input: FlexCacheEndpointType) -> Self
pub fn flex_cache_endpoint_type(self, input: FlexCacheEndpointType) -> Self
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
-
NONEspecifies that the volume doesn't have a FlexCache configuration.NONEis the default. -
ORIGINspecifies that the volume is the origin volume for a FlexCache volume. -
CACHEspecifies that the volume is a FlexCache volume.
sourcepub fn set_flex_cache_endpoint_type(
self,
input: Option<FlexCacheEndpointType>
) -> Self
pub fn set_flex_cache_endpoint_type(
self,
input: Option<FlexCacheEndpointType>
) -> Self
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
-
NONEspecifies that the volume doesn't have a FlexCache configuration.NONEis the default. -
ORIGINspecifies that the volume is the origin volume for a FlexCache volume. -
CACHEspecifies that the volume is a FlexCache volume.
sourcepub fn junction_path(self, input: impl Into<String>) -> Self
pub fn junction_path(self, input: impl Into<String>) -> Self
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a JunctionPath directly below a parent volume junction or on a directory within a volume. A JunctionPath for a volume named vol3 might be /vol1/vol2/vol3, or /vol1/dir2/vol3, or even /dir1/dir2/vol3.
sourcepub fn set_junction_path(self, input: Option<String>) -> Self
pub fn set_junction_path(self, input: Option<String>) -> Self
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a JunctionPath directly below a parent volume junction or on a directory within a volume. A JunctionPath for a volume named vol3 might be /vol1/vol2/vol3, or /vol1/dir2/vol3, or even /dir1/dir2/vol3.
sourcepub fn security_style(self, input: SecurityStyle) -> Self
pub fn security_style(self, input: SecurityStyle) -> Self
The security style for the volume, which can be UNIX, NTFS, or MIXED.
sourcepub fn set_security_style(self, input: Option<SecurityStyle>) -> Self
pub fn set_security_style(self, input: Option<SecurityStyle>) -> Self
The security style for the volume, which can be UNIX, NTFS, or MIXED.
sourcepub fn size_in_megabytes(self, input: i32) -> Self
pub fn size_in_megabytes(self, input: i32) -> Self
The configured size of the volume, in megabytes (MBs).
sourcepub fn set_size_in_megabytes(self, input: Option<i32>) -> Self
pub fn set_size_in_megabytes(self, input: Option<i32>) -> Self
The configured size of the volume, in megabytes (MBs).
sourcepub fn storage_efficiency_enabled(self, input: bool) -> Self
pub fn storage_efficiency_enabled(self, input: bool) -> Self
The volume's storage efficiency setting.
sourcepub fn set_storage_efficiency_enabled(self, input: Option<bool>) -> Self
pub fn set_storage_efficiency_enabled(self, input: Option<bool>) -> Self
The volume's storage efficiency setting.
sourcepub fn storage_virtual_machine_id(self, input: impl Into<String>) -> Self
pub fn storage_virtual_machine_id(self, input: impl Into<String>) -> Self
The ID of the volume's storage virtual machine.
sourcepub fn set_storage_virtual_machine_id(self, input: Option<String>) -> Self
pub fn set_storage_virtual_machine_id(self, input: Option<String>) -> Self
The ID of the volume's storage virtual machine.
sourcepub fn storage_virtual_machine_root(self, input: bool) -> Self
pub fn storage_virtual_machine_root(self, input: bool) -> Self
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one volume on an SVM can be the root volume. This value defaults to false. If this value is true, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag, when set to false, helps you identify which volumes to delete before you can delete the SVM.
sourcepub fn set_storage_virtual_machine_root(self, input: Option<bool>) -> Self
pub fn set_storage_virtual_machine_root(self, input: Option<bool>) -> Self
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one volume on an SVM can be the root volume. This value defaults to false. If this value is true, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag, when set to false, helps you identify which volumes to delete before you can delete the SVM.
sourcepub fn tiering_policy(self, input: TieringPolicy) -> Self
pub fn tiering_policy(self, input: TieringPolicy) -> Self
The volume's TieringPolicy setting.
sourcepub fn set_tiering_policy(self, input: Option<TieringPolicy>) -> Self
pub fn set_tiering_policy(self, input: Option<TieringPolicy>) -> Self
The volume's TieringPolicy setting.
sourcepub fn uuid(self, input: impl Into<String>) -> Self
pub fn uuid(self, input: impl Into<String>) -> Self
The volume's universally unique identifier (UUID).
sourcepub fn set_uuid(self, input: Option<String>) -> Self
pub fn set_uuid(self, input: Option<String>) -> Self
The volume's universally unique identifier (UUID).
sourcepub fn ontap_volume_type(self, input: OntapVolumeType) -> Self
pub fn ontap_volume_type(self, input: OntapVolumeType) -> Self
Specifies the type of volume. Valid values are the following:
-
RWspecifies a read/write volume.RWis the default. -
DPspecifies a data-protection volume. You can protect data by replicating it to data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data. -
LSspecifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a FlexVol volume by providing additional read-only access to clients.
sourcepub fn set_ontap_volume_type(self, input: Option<OntapVolumeType>) -> Self
pub fn set_ontap_volume_type(self, input: Option<OntapVolumeType>) -> Self
Specifies the type of volume. Valid values are the following:
-
RWspecifies a read/write volume.RWis the default. -
DPspecifies a data-protection volume. You can protect data by replicating it to data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data. -
LSspecifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a FlexVol volume by providing additional read-only access to clients.
sourcepub fn build(self) -> OntapVolumeConfiguration
pub fn build(self) -> OntapVolumeConfiguration
Consumes the builder and constructs a OntapVolumeConfiguration
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more