Struct aws_sdk_storagegateway::operation::add_cache::AddCacheInput
source · #[non_exhaustive]pub struct AddCacheInput {
pub gateway_arn: Option<String>,
pub disk_ids: Option<Vec<String>>,
}
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.gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
disk_ids: Option<Vec<String>>
An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks
API.
Implementations§
source§impl AddCacheInput
impl AddCacheInput
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn disk_ids(&self) -> &[String]
pub fn disk_ids(&self) -> &[String]
An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks
API.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .disk_ids.is_none()
.
source§impl AddCacheInput
impl AddCacheInput
sourcepub fn builder() -> AddCacheInputBuilder
pub fn builder() -> AddCacheInputBuilder
Creates a new builder-style object to manufacture AddCacheInput
.
Trait Implementations§
source§impl Clone for AddCacheInput
impl Clone for AddCacheInput
source§fn clone(&self) -> AddCacheInput
fn clone(&self) -> AddCacheInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddCacheInput
impl Debug for AddCacheInput
source§impl PartialEq for AddCacheInput
impl PartialEq for AddCacheInput
source§fn eq(&self, other: &AddCacheInput) -> bool
fn eq(&self, other: &AddCacheInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddCacheInput
Auto Trait Implementations§
impl Freeze for AddCacheInput
impl RefUnwindSafe for AddCacheInput
impl Send for AddCacheInput
impl Sync for AddCacheInput
impl Unpin for AddCacheInput
impl UnwindSafe for AddCacheInput
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