Struct aws_sdk_backup::input::StartCopyJobInput
source · [−]#[non_exhaustive]pub struct StartCopyJobInput { /* private fields */ }
Implementations
sourceimpl StartCopyJobInput
impl StartCopyJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartCopyJob, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartCopyJob, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartCopyJob
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartCopyJobInput
.
sourceimpl StartCopyJobInput
impl StartCopyJobInput
sourcepub fn recovery_point_arn(&self) -> Option<&str>
pub fn recovery_point_arn(&self) -> Option<&str>
An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
sourcepub fn source_backup_vault_name(&self) -> Option<&str>
pub fn source_backup_vault_name(&self) -> Option<&str>
The name of a logical source container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn destination_backup_vault_arn(&self) -> Option<&str>
pub fn destination_backup_vault_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
Specifies the IAM role ARN used to copy the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access
.
sourcepub fn idempotency_token(&self) -> Option<&str>
pub fn idempotency_token(&self) -> Option<&str>
A customer-chosen string that you can use to distinguish between otherwise identical calls to StartCopyJob
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
sourcepub fn lifecycle(&self) -> Option<&Lifecycle>
pub fn lifecycle(&self) -> Option<&Lifecycle>
Contains an array of Transition
objects specifying how long in days before a recovery point transitions to cold storage or is deleted.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
Trait Implementations
sourceimpl Clone for StartCopyJobInput
impl Clone for StartCopyJobInput
sourcefn clone(&self) -> StartCopyJobInput
fn clone(&self) -> StartCopyJobInput
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 StartCopyJobInput
impl Debug for StartCopyJobInput
sourceimpl PartialEq<StartCopyJobInput> for StartCopyJobInput
impl PartialEq<StartCopyJobInput> for StartCopyJobInput
sourcefn eq(&self, other: &StartCopyJobInput) -> bool
fn eq(&self, other: &StartCopyJobInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for StartCopyJobInput
Auto Trait Implementations
impl RefUnwindSafe for StartCopyJobInput
impl Send for StartCopyJobInput
impl Sync for StartCopyJobInput
impl Unpin for StartCopyJobInput
impl UnwindSafe for StartCopyJobInput
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