Struct aws_sdk_fsx::input::CreateVolumeInput
source · [−]#[non_exhaustive]pub struct CreateVolumeInput {
pub client_request_token: Option<String>,
pub volume_type: Option<VolumeType>,
pub name: Option<String>,
pub ontap_configuration: Option<CreateOntapVolumeConfiguration>,
pub tags: Option<Vec<Tag>>,
pub open_zfs_configuration: Option<CreateOpenZfsVolumeConfiguration>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_request_token: Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
volume_type: Option<VolumeType>
Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid volume types.
name: Option<String>
Specifies the name of the volume that you're creating.
ontap_configuration: Option<CreateOntapVolumeConfiguration>
Specifies the configuration to use when creating the ONTAP volume.
A list of Tag
values, with a maximum of 50 elements.
open_zfs_configuration: Option<CreateOpenZfsVolumeConfiguration>
Specifies the configuration to use when creating the OpenZFS volume.
Implementations
sourceimpl CreateVolumeInput
impl CreateVolumeInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateVolume, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateVolume, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateVolume
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateVolumeInput
.
sourceimpl CreateVolumeInput
impl CreateVolumeInput
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn volume_type(&self) -> Option<&VolumeType>
pub fn volume_type(&self) -> Option<&VolumeType>
Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid volume types.
sourcepub fn ontap_configuration(&self) -> Option<&CreateOntapVolumeConfiguration>
pub fn ontap_configuration(&self) -> Option<&CreateOntapVolumeConfiguration>
Specifies the configuration to use when creating the ONTAP volume.
A list of Tag
values, with a maximum of 50 elements.
sourcepub fn open_zfs_configuration(
&self
) -> Option<&CreateOpenZfsVolumeConfiguration>
pub fn open_zfs_configuration(
&self
) -> Option<&CreateOpenZfsVolumeConfiguration>
Specifies the configuration to use when creating the OpenZFS volume.
Trait Implementations
sourceimpl Clone for CreateVolumeInput
impl Clone for CreateVolumeInput
sourcefn clone(&self) -> CreateVolumeInput
fn clone(&self) -> CreateVolumeInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateVolumeInput
impl Debug for CreateVolumeInput
sourceimpl PartialEq<CreateVolumeInput> for CreateVolumeInput
impl PartialEq<CreateVolumeInput> for CreateVolumeInput
sourcefn eq(&self, other: &CreateVolumeInput) -> bool
fn eq(&self, other: &CreateVolumeInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateVolumeInput) -> bool
fn ne(&self, other: &CreateVolumeInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateVolumeInput
Auto Trait Implementations
impl RefUnwindSafe for CreateVolumeInput
impl Send for CreateVolumeInput
impl Sync for CreateVolumeInput
impl Unpin for CreateVolumeInput
impl UnwindSafe for CreateVolumeInput
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> 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