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 ==.