Struct aws_sdk_storagegateway::operation::describe_upload_buffer::builders::DescribeUploadBufferOutputBuilder
source · #[non_exhaustive]pub struct DescribeUploadBufferOutputBuilder { /* private fields */ }Expand description
A builder for DescribeUploadBufferOutput.
Implementations§
source§impl DescribeUploadBufferOutputBuilder
impl DescribeUploadBufferOutputBuilder
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 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 the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
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 the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
sourcepub fn upload_buffer_used_in_bytes(self, input: i64) -> Self
pub fn upload_buffer_used_in_bytes(self, input: i64) -> Self
The total number of bytes being used in the gateway's upload buffer.
sourcepub fn set_upload_buffer_used_in_bytes(self, input: Option<i64>) -> Self
pub fn set_upload_buffer_used_in_bytes(self, input: Option<i64>) -> Self
The total number of bytes being used in the gateway's upload buffer.
sourcepub fn upload_buffer_allocated_in_bytes(self, input: i64) -> Self
pub fn upload_buffer_allocated_in_bytes(self, input: i64) -> Self
The total number of bytes allocated in the gateway's as upload buffer.
sourcepub fn set_upload_buffer_allocated_in_bytes(self, input: Option<i64>) -> Self
pub fn set_upload_buffer_allocated_in_bytes(self, input: Option<i64>) -> Self
The total number of bytes allocated in the gateway's as upload buffer.
sourcepub fn build(self) -> DescribeUploadBufferOutput
pub fn build(self) -> DescribeUploadBufferOutput
Consumes the builder and constructs a DescribeUploadBufferOutput.
Trait Implementations§
source§impl Clone for DescribeUploadBufferOutputBuilder
impl Clone for DescribeUploadBufferOutputBuilder
source§fn clone(&self) -> DescribeUploadBufferOutputBuilder
fn clone(&self) -> DescribeUploadBufferOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeUploadBufferOutputBuilder
impl Default for DescribeUploadBufferOutputBuilder
source§fn default() -> DescribeUploadBufferOutputBuilder
fn default() -> DescribeUploadBufferOutputBuilder
source§impl PartialEq<DescribeUploadBufferOutputBuilder> for DescribeUploadBufferOutputBuilder
impl PartialEq<DescribeUploadBufferOutputBuilder> for DescribeUploadBufferOutputBuilder
source§fn eq(&self, other: &DescribeUploadBufferOutputBuilder) -> bool
fn eq(&self, other: &DescribeUploadBufferOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.