#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Volume
Implementations
sourceimpl Builder
impl Builder
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 file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system that you initiated.
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 file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system that you initiated.
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
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