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