#[non_exhaustive]pub struct AssignTapePoolInput {
pub tape_arn: Option<String>,
pub pool_id: Option<String>,
pub bypass_governance_retention: Option<bool>,
}
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.tape_arn: Option<String>
The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
pool_id: Option<String>
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
bypass_governance_retention: Option<bool>
Set permissions to bypass governance retention. If the lock type of the archived tape is Governance
, the tape's archived age is not older than RetentionLockInDays
, and the user does not already have BypassGovernanceRetention
, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.
Valid values: TRUE
| FALSE
Implementations§
source§impl AssignTapePoolInput
impl AssignTapePoolInput
sourcepub fn tape_arn(&self) -> Option<&str>
pub fn tape_arn(&self) -> Option<&str>
The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
sourcepub fn pool_id(&self) -> Option<&str>
pub fn pool_id(&self) -> Option<&str>
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
sourcepub fn bypass_governance_retention(&self) -> Option<bool>
pub fn bypass_governance_retention(&self) -> Option<bool>
Set permissions to bypass governance retention. If the lock type of the archived tape is Governance
, the tape's archived age is not older than RetentionLockInDays
, and the user does not already have BypassGovernanceRetention
, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.
Valid values: TRUE
| FALSE
source§impl AssignTapePoolInput
impl AssignTapePoolInput
sourcepub fn builder() -> AssignTapePoolInputBuilder
pub fn builder() -> AssignTapePoolInputBuilder
Creates a new builder-style object to manufacture AssignTapePoolInput
.
Trait Implementations§
source§impl Clone for AssignTapePoolInput
impl Clone for AssignTapePoolInput
source§fn clone(&self) -> AssignTapePoolInput
fn clone(&self) -> AssignTapePoolInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssignTapePoolInput
impl Debug for AssignTapePoolInput
source§impl PartialEq for AssignTapePoolInput
impl PartialEq for AssignTapePoolInput
source§fn eq(&self, other: &AssignTapePoolInput) -> bool
fn eq(&self, other: &AssignTapePoolInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssignTapePoolInput
Auto Trait Implementations§
impl Freeze for AssignTapePoolInput
impl RefUnwindSafe for AssignTapePoolInput
impl Send for AssignTapePoolInput
impl Sync for AssignTapePoolInput
impl Unpin for AssignTapePoolInput
impl UnwindSafe for AssignTapePoolInput
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