Struct aws_sdk_datasync::types::builders::NetAppOntapVolumeBuilder
source · #[non_exhaustive]pub struct NetAppOntapVolumeBuilder { /* private fields */ }
Expand description
A builder for NetAppOntapVolume
.
Implementations§
source§impl NetAppOntapVolumeBuilder
impl NetAppOntapVolumeBuilder
sourcepub fn volume_name(self, input: impl Into<String>) -> Self
pub fn volume_name(self, input: impl Into<String>) -> Self
The name of the volume.
sourcepub fn set_volume_name(self, input: Option<String>) -> Self
pub fn set_volume_name(self, input: Option<String>) -> Self
The name of the volume.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The universally unique identifier (UUID) of the volume.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The universally unique identifier (UUID) of the volume.
The number of CIFS shares in the volume.
The number of CIFS shares in the volume.
sourcepub fn security_style(self, input: impl Into<String>) -> Self
pub fn security_style(self, input: impl Into<String>) -> Self
The volume's security style (such as Unix or NTFS).
sourcepub fn set_security_style(self, input: Option<String>) -> Self
pub fn set_security_style(self, input: Option<String>) -> Self
The volume's security style (such as Unix or NTFS).
sourcepub fn svm_uuid(self, input: impl Into<String>) -> Self
pub fn svm_uuid(self, input: impl Into<String>) -> Self
The UUID of the storage virtual machine (SVM) associated with the volume.
sourcepub fn set_svm_uuid(self, input: Option<String>) -> Self
pub fn set_svm_uuid(self, input: Option<String>) -> Self
The UUID of the storage virtual machine (SVM) associated with the volume.
sourcepub fn svm_name(self, input: impl Into<String>) -> Self
pub fn svm_name(self, input: impl Into<String>) -> Self
The name of the SVM associated with the volume.
sourcepub fn set_svm_name(self, input: Option<String>) -> Self
pub fn set_svm_name(self, input: Option<String>) -> Self
The name of the SVM associated with the volume.
sourcepub fn capacity_used(self, input: i64) -> Self
pub fn capacity_used(self, input: i64) -> Self
The storage space that's being used in the volume.
sourcepub fn set_capacity_used(self, input: Option<i64>) -> Self
pub fn set_capacity_used(self, input: Option<i64>) -> Self
The storage space that's being used in the volume.
sourcepub fn capacity_provisioned(self, input: i64) -> Self
pub fn capacity_provisioned(self, input: i64) -> Self
The total storage space that's available in the volume.
sourcepub fn set_capacity_provisioned(self, input: Option<i64>) -> Self
pub fn set_capacity_provisioned(self, input: Option<i64>) -> Self
The total storage space that's available in the volume.
sourcepub fn logical_capacity_used(self, input: i64) -> Self
pub fn logical_capacity_used(self, input: i64) -> Self
The storage space that's being used in the volume without accounting for compression or deduplication.
sourcepub fn set_logical_capacity_used(self, input: Option<i64>) -> Self
pub fn set_logical_capacity_used(self, input: Option<i64>) -> Self
The storage space that's being used in the volume without accounting for compression or deduplication.
sourcepub fn nfs_exported(self, input: bool) -> Self
pub fn nfs_exported(self, input: bool) -> Self
The number of NFS volumes in the volume.
sourcepub fn set_nfs_exported(self, input: Option<bool>) -> Self
pub fn set_nfs_exported(self, input: Option<bool>) -> Self
The number of NFS volumes in the volume.
sourcepub fn snapshot_capacity_used(self, input: i64) -> Self
pub fn snapshot_capacity_used(self, input: i64) -> Self
The amount of storage in the volume that's being used for snapshots.
sourcepub fn set_snapshot_capacity_used(self, input: Option<i64>) -> Self
pub fn set_snapshot_capacity_used(self, input: Option<i64>) -> Self
The amount of storage in the volume that's being used for snapshots.
sourcepub fn max_p95_performance(self, input: MaxP95Performance) -> Self
pub fn max_p95_performance(self, input: MaxP95Performance) -> Self
The performance data that DataSync Discovery collects about the volume.
sourcepub fn set_max_p95_performance(self, input: Option<MaxP95Performance>) -> Self
pub fn set_max_p95_performance(self, input: Option<MaxP95Performance>) -> Self
The performance data that DataSync Discovery collects about the volume.
sourcepub fn recommendations(self, input: Recommendation) -> Self
pub fn recommendations(self, input: Recommendation) -> Self
Appends an item to recommendations
.
To override the contents of this collection use set_recommendations
.
The Amazon Web Services storage services that DataSync Discovery recommends for the volume. For more information, see Recommendations provided by DataSync Discovery.
sourcepub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
pub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
The Amazon Web Services storage services that DataSync Discovery recommends for the volume. For more information, see Recommendations provided by DataSync Discovery.
sourcepub fn recommendation_status(self, input: RecommendationStatus) -> Self
pub fn recommendation_status(self, input: RecommendationStatus) -> Self
Indicates whether DataSync Discovery recommendations for the volume are ready to view, incomplete, or can't be determined.
For more information, see Recommendation statuses.
sourcepub fn set_recommendation_status(
self,
input: Option<RecommendationStatus>
) -> Self
pub fn set_recommendation_status( self, input: Option<RecommendationStatus> ) -> Self
Indicates whether DataSync Discovery recommendations for the volume are ready to view, incomplete, or can't be determined.
For more information, see Recommendation statuses.
sourcepub fn build(self) -> NetAppOntapVolume
pub fn build(self) -> NetAppOntapVolume
Consumes the builder and constructs a NetAppOntapVolume
.
Trait Implementations§
source§impl Clone for NetAppOntapVolumeBuilder
impl Clone for NetAppOntapVolumeBuilder
source§fn clone(&self) -> NetAppOntapVolumeBuilder
fn clone(&self) -> NetAppOntapVolumeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetAppOntapVolumeBuilder
impl Debug for NetAppOntapVolumeBuilder
source§impl Default for NetAppOntapVolumeBuilder
impl Default for NetAppOntapVolumeBuilder
source§fn default() -> NetAppOntapVolumeBuilder
fn default() -> NetAppOntapVolumeBuilder
source§impl PartialEq<NetAppOntapVolumeBuilder> for NetAppOntapVolumeBuilder
impl PartialEq<NetAppOntapVolumeBuilder> for NetAppOntapVolumeBuilder
source§fn eq(&self, other: &NetAppOntapVolumeBuilder) -> bool
fn eq(&self, other: &NetAppOntapVolumeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.