#[non_exhaustive]pub struct CreateVolumeFromBackupInput {
pub backup_id: Option<String>,
pub client_request_token: Option<String>,
pub name: Option<String>,
pub ontap_configuration: Option<CreateOntapVolumeConfiguration>,
pub tags: Option<Vec<Tag>>,
}
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.backup_id: Option<String>
The ID of the source backup. Specifies the backup that you are copying.
client_request_token: Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
name: Option<String>
The name of the new volume you're creating.
ontap_configuration: Option<CreateOntapVolumeConfiguration>
Specifies the configuration of the ONTAP volume that you are creating.
A list of Tag
values, with a maximum of 50 elements.
Implementations§
source§impl CreateVolumeFromBackupInput
impl CreateVolumeFromBackupInput
sourcepub fn backup_id(&self) -> Option<&str>
pub fn backup_id(&self) -> Option<&str>
The ID of the source backup. Specifies the backup that you are copying.
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 63 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 ontap_configuration(&self) -> Option<&CreateOntapVolumeConfiguration>
pub fn ontap_configuration(&self) -> Option<&CreateOntapVolumeConfiguration>
Specifies the configuration of the ONTAP volume that you are creating.
A list of Tag
values, with a maximum of 50 elements.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateVolumeFromBackupInput
impl CreateVolumeFromBackupInput
sourcepub fn builder() -> CreateVolumeFromBackupInputBuilder
pub fn builder() -> CreateVolumeFromBackupInputBuilder
Creates a new builder-style object to manufacture CreateVolumeFromBackupInput
.
Trait Implementations§
source§impl Clone for CreateVolumeFromBackupInput
impl Clone for CreateVolumeFromBackupInput
source§fn clone(&self) -> CreateVolumeFromBackupInput
fn clone(&self) -> CreateVolumeFromBackupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateVolumeFromBackupInput
impl Debug for CreateVolumeFromBackupInput
source§impl PartialEq for CreateVolumeFromBackupInput
impl PartialEq for CreateVolumeFromBackupInput
source§fn eq(&self, other: &CreateVolumeFromBackupInput) -> bool
fn eq(&self, other: &CreateVolumeFromBackupInput) -> bool
self
and other
values to be equal, and is used
by ==
.