Struct aws_sdk_storagegateway::operation::add_upload_buffer::builders::AddUploadBufferInputBuilder
source · #[non_exhaustive]pub struct AddUploadBufferInputBuilder { /* private fields */ }Expand description
A builder for AddUploadBufferInput.
Implementations§
source§impl AddUploadBufferInputBuilder
impl AddUploadBufferInputBuilder
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<AddUploadBufferInput, BuildError>
pub fn build(self) -> Result<AddUploadBufferInput, BuildError>
Consumes the builder and constructs a AddUploadBufferInput.
source§impl AddUploadBufferInputBuilder
impl AddUploadBufferInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AddUploadBufferOutput, SdkError<AddUploadBufferError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AddUploadBufferOutput, SdkError<AddUploadBufferError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddUploadBufferInputBuilder
impl Clone for AddUploadBufferInputBuilder
source§fn clone(&self) -> AddUploadBufferInputBuilder
fn clone(&self) -> AddUploadBufferInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AddUploadBufferInputBuilder
impl Debug for AddUploadBufferInputBuilder
source§impl Default for AddUploadBufferInputBuilder
impl Default for AddUploadBufferInputBuilder
source§fn default() -> AddUploadBufferInputBuilder
fn default() -> AddUploadBufferInputBuilder
source§impl PartialEq for AddUploadBufferInputBuilder
impl PartialEq for AddUploadBufferInputBuilder
source§fn eq(&self, other: &AddUploadBufferInputBuilder) -> bool
fn eq(&self, other: &AddUploadBufferInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddUploadBufferInputBuilder
Auto Trait Implementations§
impl Freeze for AddUploadBufferInputBuilder
impl RefUnwindSafe for AddUploadBufferInputBuilder
impl Send for AddUploadBufferInputBuilder
impl Sync for AddUploadBufferInputBuilder
impl Unpin for AddUploadBufferInputBuilder
impl UnwindSafe for AddUploadBufferInputBuilder
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