Struct aws_sdk_fsx::operation::create_volume_from_backup::builders::CreateVolumeFromBackupInputBuilder
source · #[non_exhaustive]pub struct CreateVolumeFromBackupInputBuilder { /* private fields */ }
Expand description
A builder for CreateVolumeFromBackupInput
.
Implementations§
source§impl CreateVolumeFromBackupInputBuilder
impl CreateVolumeFromBackupInputBuilder
sourcepub fn backup_id(self, input: impl Into<String>) -> Self
pub fn backup_id(self, input: impl Into<String>) -> Self
The ID of the source backup. Specifies the backup that you are copying.
This field is required.sourcepub fn set_backup_id(self, input: Option<String>) -> Self
pub fn set_backup_id(self, input: Option<String>) -> Self
The ID of the source backup. Specifies the backup that you are copying.
sourcepub fn get_backup_id(&self) -> &Option<String>
pub fn get_backup_id(&self) -> &Option<String>
The ID of the source backup. Specifies the backup that you are copying.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
(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 set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
(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 get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &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.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the new volume you're creating.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the new volume you're creating.
sourcepub fn ontap_configuration(self, input: CreateOntapVolumeConfiguration) -> Self
pub fn ontap_configuration(self, input: CreateOntapVolumeConfiguration) -> Self
Specifies the configuration of the ONTAP volume that you are creating.
sourcepub fn set_ontap_configuration(
self,
input: Option<CreateOntapVolumeConfiguration>
) -> Self
pub fn set_ontap_configuration( self, input: Option<CreateOntapVolumeConfiguration> ) -> Self
Specifies the configuration of the ONTAP volume that you are creating.
sourcepub fn get_ontap_configuration(&self) -> &Option<CreateOntapVolumeConfiguration>
pub fn get_ontap_configuration(&self) -> &Option<CreateOntapVolumeConfiguration>
Specifies the configuration of the ONTAP volume that you are creating.
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.
A list of Tag
values, with a maximum of 50 elements.
sourcepub fn build(self) -> Result<CreateVolumeFromBackupInput, BuildError>
pub fn build(self) -> Result<CreateVolumeFromBackupInput, BuildError>
Consumes the builder and constructs a CreateVolumeFromBackupInput
.
source§impl CreateVolumeFromBackupInputBuilder
impl CreateVolumeFromBackupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVolumeFromBackupOutput, SdkError<CreateVolumeFromBackupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVolumeFromBackupOutput, SdkError<CreateVolumeFromBackupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVolumeFromBackupInputBuilder
impl Clone for CreateVolumeFromBackupInputBuilder
source§fn clone(&self) -> CreateVolumeFromBackupInputBuilder
fn clone(&self) -> CreateVolumeFromBackupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateVolumeFromBackupInputBuilder
impl Default for CreateVolumeFromBackupInputBuilder
source§fn default() -> CreateVolumeFromBackupInputBuilder
fn default() -> CreateVolumeFromBackupInputBuilder
source§impl PartialEq for CreateVolumeFromBackupInputBuilder
impl PartialEq for CreateVolumeFromBackupInputBuilder
source§fn eq(&self, other: &CreateVolumeFromBackupInputBuilder) -> bool
fn eq(&self, other: &CreateVolumeFromBackupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.