Struct aws_sdk_backup::operation::create_backup_plan::builders::CreateBackupPlanInputBuilder    
source · #[non_exhaustive]pub struct CreateBackupPlanInputBuilder { /* private fields */ }Expand description
A builder for CreateBackupPlanInput.
Implementations§
source§impl CreateBackupPlanInputBuilder
 
impl CreateBackupPlanInputBuilder
sourcepub fn backup_plan(self, input: BackupPlanInput) -> Self
 
pub fn backup_plan(self, input: BackupPlanInput) -> Self
Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
sourcepub fn set_backup_plan(self, input: Option<BackupPlanInput>) -> Self
 
pub fn set_backup_plan(self, input: Option<BackupPlanInput>) -> Self
Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
sourcepub fn get_backup_plan(&self) -> &Option<BackupPlanInput>
 
pub fn get_backup_plan(&self) -> &Option<BackupPlanInput>
Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
Adds a key-value pair to backup_plan_tags.
To override the contents of this collection use set_backup_plan_tags.
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
sourcepub fn creator_request_id(self, input: impl Into<String>) -> Self
 
pub fn creator_request_id(self, input: impl Into<String>) -> Self
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
 
pub fn set_creator_request_id(self, input: Option<String>) -> Self
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn get_creator_request_id(&self) -> &Option<String>
 
pub fn get_creator_request_id(&self) -> &Option<String>
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn build(self) -> Result<CreateBackupPlanInput, BuildError>
 
pub fn build(self) -> Result<CreateBackupPlanInput, BuildError>
Consumes the builder and constructs a CreateBackupPlanInput.
source§impl CreateBackupPlanInputBuilder
 
impl CreateBackupPlanInputBuilder
sourcepub async fn send_with(
    self,
    client: &Client,
) -> Result<CreateBackupPlanOutput, SdkError<CreateBackupPlanError, HttpResponse>>
 
pub async fn send_with( self, client: &Client, ) -> Result<CreateBackupPlanOutput, SdkError<CreateBackupPlanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateBackupPlanInputBuilder
 
impl Clone for CreateBackupPlanInputBuilder
source§fn clone(&self) -> CreateBackupPlanInputBuilder
 
fn clone(&self) -> CreateBackupPlanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateBackupPlanInputBuilder
 
impl Debug for CreateBackupPlanInputBuilder
source§impl Default for CreateBackupPlanInputBuilder
 
impl Default for CreateBackupPlanInputBuilder
source§fn default() -> CreateBackupPlanInputBuilder
 
fn default() -> CreateBackupPlanInputBuilder
source§impl PartialEq for CreateBackupPlanInputBuilder
 
impl PartialEq for CreateBackupPlanInputBuilder
source§fn eq(&self, other: &CreateBackupPlanInputBuilder) -> bool
 
fn eq(&self, other: &CreateBackupPlanInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateBackupPlanInputBuilder
Auto Trait Implementations§
impl Freeze for CreateBackupPlanInputBuilder
impl RefUnwindSafe for CreateBackupPlanInputBuilder
impl Send for CreateBackupPlanInputBuilder
impl Sync for CreateBackupPlanInputBuilder
impl Unpin for CreateBackupPlanInputBuilder
impl UnwindSafe for CreateBackupPlanInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more