#[non_exhaustive]pub struct AddCacheInputBuilder { /* private fields */ }Expand description
A builder for AddCacheInput.
Implementations§
source§impl AddCacheInputBuilder
impl AddCacheInputBuilder
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
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 set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
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 get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &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.
sourcepub fn disk_ids(self, input: impl Into<String>) -> Self
pub fn disk_ids(self, input: impl Into<String>) -> Self
Appends an item to disk_ids.
To override the contents of this collection use set_disk_ids.
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.
sourcepub fn set_disk_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_disk_ids(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_disk_ids(&self) -> &Option<Vec<String>>
pub fn get_disk_ids(&self) -> &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.
sourcepub fn build(self) -> Result<AddCacheInput, BuildError>
pub fn build(self) -> Result<AddCacheInput, BuildError>
Consumes the builder and constructs a AddCacheInput.
source§impl AddCacheInputBuilder
impl AddCacheInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AddCacheOutput, SdkError<AddCacheError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AddCacheOutput, SdkError<AddCacheError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddCacheInputBuilder
impl Clone for AddCacheInputBuilder
source§fn clone(&self) -> AddCacheInputBuilder
fn clone(&self) -> AddCacheInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AddCacheInputBuilder
impl Debug for AddCacheInputBuilder
source§impl Default for AddCacheInputBuilder
impl Default for AddCacheInputBuilder
source§fn default() -> AddCacheInputBuilder
fn default() -> AddCacheInputBuilder
source§impl PartialEq for AddCacheInputBuilder
impl PartialEq for AddCacheInputBuilder
source§fn eq(&self, other: &AddCacheInputBuilder) -> bool
fn eq(&self, other: &AddCacheInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddCacheInputBuilder
Auto Trait Implementations§
impl Freeze for AddCacheInputBuilder
impl RefUnwindSafe for AddCacheInputBuilder
impl Send for AddCacheInputBuilder
impl Sync for AddCacheInputBuilder
impl Unpin for AddCacheInputBuilder
impl UnwindSafe for AddCacheInputBuilder
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