pub struct DescribeLogDirsResultBuilder { /* private fields */ }
Expand description
Builder for DescribeLogDirsResult
.
Implementations§
source§impl DescribeLogDirsResultBuilder
impl DescribeLogDirsResultBuilder
sourcepub fn error_code(&mut self, value: i16) -> &mut Self
pub fn error_code(&mut self, value: i16) -> &mut Self
The error code, or 0 if there was no error.
Supported API versions: 0-4
sourcepub fn log_dir(&mut self, value: StrBytes) -> &mut Self
pub fn log_dir(&mut self, value: StrBytes) -> &mut Self
The absolute log directory path.
Supported API versions: 0-4
sourcepub fn topics(&mut self, value: Vec<DescribeLogDirsTopic>) -> &mut Self
pub fn topics(&mut self, value: Vec<DescribeLogDirsTopic>) -> &mut Self
Each topic.
Supported API versions: 0-4
sourcepub fn total_bytes(&mut self, value: i64) -> &mut Self
pub fn total_bytes(&mut self, value: i64) -> &mut Self
The total size in bytes of the volume the log directory is in.
Supported API versions: 4
sourcepub fn usable_bytes(&mut self, value: i64) -> &mut Self
pub fn usable_bytes(&mut self, value: i64) -> &mut Self
The usable size in bytes of the volume the log directory is in.
Supported API versions: 4
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Bytes>
) -> &mut Self
pub fn unknown_tagged_fields( &mut self, value: BTreeMap<i32, Bytes> ) -> &mut Self
Other tagged fields
sourcepub fn build(
&self
) -> Result<DescribeLogDirsResult, DescribeLogDirsResultBuilderError>
pub fn build( &self ) -> Result<DescribeLogDirsResult, DescribeLogDirsResultBuilderError>
Trait Implementations§
source§impl Clone for DescribeLogDirsResultBuilder
impl Clone for DescribeLogDirsResultBuilder
source§fn clone(&self) -> DescribeLogDirsResultBuilder
fn clone(&self) -> DescribeLogDirsResultBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DescribeLogDirsResultBuilder
impl Send for DescribeLogDirsResultBuilder
impl Sync for DescribeLogDirsResultBuilder
impl Unpin for DescribeLogDirsResultBuilder
impl UnwindSafe for DescribeLogDirsResultBuilder
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
Mutably borrows from an owned value. Read more