Struct aws_sdk_fsx::types::builders::VolumeBuilder
source · #[non_exhaustive]pub struct VolumeBuilder { /* private fields */ }Expand description
A builder for Volume.
Implementations§
source§impl VolumeBuilder
impl VolumeBuilder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The globally unique ID of the file system, assigned by Amazon FSx.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The globally unique ID of the file system, assigned by Amazon FSx.
sourcepub fn lifecycle(self, input: VolumeLifecycle) -> Self
pub fn lifecycle(self, input: VolumeLifecycle) -> Self
The lifecycle status of the volume.
-
AVAILABLE- The volume is fully available for use. -
CREATED- The volume has been created. -
CREATING- Amazon FSx is creating the new volume. -
DELETING- Amazon FSx is deleting an existing volume. -
FAILED- Amazon FSx was unable to create the volume. -
MISCONFIGURED- The volume is in a failed but recoverable state. -
PENDING- Amazon FSx hasn't started creating the volume.
sourcepub fn set_lifecycle(self, input: Option<VolumeLifecycle>) -> Self
pub fn set_lifecycle(self, input: Option<VolumeLifecycle>) -> Self
The lifecycle status of the volume.
-
AVAILABLE- The volume is fully available for use. -
CREATED- The volume has been created. -
CREATING- Amazon FSx is creating the new volume. -
DELETING- Amazon FSx is deleting an existing volume. -
FAILED- Amazon FSx was unable to create the volume. -
MISCONFIGURED- The volume is in a failed but recoverable state. -
PENDING- Amazon FSx hasn't started creating the volume.
sourcepub fn ontap_configuration(self, input: OntapVolumeConfiguration) -> Self
pub fn ontap_configuration(self, input: OntapVolumeConfiguration) -> Self
The configuration of an Amazon FSx for NetApp ONTAP volume.
sourcepub fn set_ontap_configuration(
self,
input: Option<OntapVolumeConfiguration>
) -> Self
pub fn set_ontap_configuration( self, input: Option<OntapVolumeConfiguration> ) -> Self
The configuration of an Amazon FSx for NetApp ONTAP volume.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of Tag values, with a maximum of 50 elements.
A list of Tag values, with a maximum of 50 elements.
sourcepub fn volume_id(self, input: impl Into<String>) -> Self
pub fn volume_id(self, input: impl Into<String>) -> Self
The system-generated, unique ID of the volume.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
The system-generated, unique ID of the volume.
sourcepub fn volume_type(self, input: VolumeType) -> Self
pub fn volume_type(self, input: VolumeType) -> Self
The type of the volume.
sourcepub fn set_volume_type(self, input: Option<VolumeType>) -> Self
pub fn set_volume_type(self, input: Option<VolumeType>) -> Self
The type of the volume.
sourcepub fn lifecycle_transition_reason(
self,
input: LifecycleTransitionReason
) -> Self
pub fn lifecycle_transition_reason( self, input: LifecycleTransitionReason ) -> Self
The reason why the volume lifecycle status changed.
sourcepub fn set_lifecycle_transition_reason(
self,
input: Option<LifecycleTransitionReason>
) -> Self
pub fn set_lifecycle_transition_reason( self, input: Option<LifecycleTransitionReason> ) -> Self
The reason why the volume lifecycle status changed.
sourcepub fn administrative_actions(self, input: AdministrativeAction) -> Self
pub fn administrative_actions(self, input: AdministrativeAction) -> Self
Appends an item to administrative_actions.
To override the contents of this collection use set_administrative_actions.
A list of administrative actions for the volume that are in process or waiting to be processed. Administrative actions describe changes to the volume that you have initiated using the UpdateVolume action.
sourcepub fn set_administrative_actions(
self,
input: Option<Vec<AdministrativeAction>>
) -> Self
pub fn set_administrative_actions( self, input: Option<Vec<AdministrativeAction>> ) -> Self
A list of administrative actions for the volume that are in process or waiting to be processed. Administrative actions describe changes to the volume that you have initiated using the UpdateVolume action.
sourcepub fn open_zfs_configuration(self, input: OpenZfsVolumeConfiguration) -> Self
pub fn open_zfs_configuration(self, input: OpenZfsVolumeConfiguration) -> Self
The configuration of an Amazon FSx for OpenZFS volume.
sourcepub fn set_open_zfs_configuration(
self,
input: Option<OpenZfsVolumeConfiguration>
) -> Self
pub fn set_open_zfs_configuration( self, input: Option<OpenZfsVolumeConfiguration> ) -> Self
The configuration of an Amazon FSx for OpenZFS volume.
Trait Implementations§
source§impl Clone for VolumeBuilder
impl Clone for VolumeBuilder
source§fn clone(&self) -> VolumeBuilder
fn clone(&self) -> VolumeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VolumeBuilder
impl Debug for VolumeBuilder
source§impl Default for VolumeBuilder
impl Default for VolumeBuilder
source§fn default() -> VolumeBuilder
fn default() -> VolumeBuilder
source§impl PartialEq<VolumeBuilder> for VolumeBuilder
impl PartialEq<VolumeBuilder> for VolumeBuilder
source§fn eq(&self, other: &VolumeBuilder) -> bool
fn eq(&self, other: &VolumeBuilder) -> bool
self and other values to be equal, and is used
by ==.