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 get_volume_name(&self) -> &Option<String>
pub fn get_volume_name(&self) -> &Option<String>
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.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The universally unique identifier (UUID) of the volume.
The number of CIFS shares in 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 get_security_style(&self) -> &Option<String>
pub fn get_security_style(&self) -> &Option<String>
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 get_svm_uuid(&self) -> &Option<String>
pub fn get_svm_uuid(&self) -> &Option<String>
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 get_svm_name(&self) -> &Option<String>
pub fn get_svm_name(&self) -> &Option<String>
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 get_capacity_used(&self) -> &Option<i64>
pub fn get_capacity_used(&self) -> &Option<i64>
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 get_capacity_provisioned(&self) -> &Option<i64>
pub fn get_capacity_provisioned(&self) -> &Option<i64>
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 get_logical_capacity_used(&self) -> &Option<i64>
pub fn get_logical_capacity_used(&self) -> &Option<i64>
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 get_nfs_exported(&self) -> &Option<bool>
pub fn get_nfs_exported(&self) -> &Option<bool>
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 get_snapshot_capacity_used(&self) -> &Option<i64>
pub fn get_snapshot_capacity_used(&self) -> &Option<i64>
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 get_max_p95_performance(&self) -> &Option<MaxP95Performance>
pub fn get_max_p95_performance(&self) -> &Option<MaxP95Performance>
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 get_recommendations(&self) -> &Option<Vec<Recommendation>>
pub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
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 get_recommendation_status(&self) -> &Option<RecommendationStatus>
pub fn get_recommendation_status(&self) -> &Option<RecommendationStatus>
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 lun_count(self, input: i64) -> Self
pub fn lun_count(self, input: i64) -> Self
The number of LUNs (logical unit numbers) in the volume.
sourcepub fn set_lun_count(self, input: Option<i64>) -> Self
pub fn set_lun_count(self, input: Option<i64>) -> Self
The number of LUNs (logical unit numbers) in the volume.
sourcepub fn get_lun_count(&self) -> &Option<i64>
pub fn get_lun_count(&self) -> &Option<i64>
The number of LUNs (logical unit numbers) in the volume.
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 ==
.