Struct aws_sdk_ec2::types::builders::ClientDataBuilder   
source · #[non_exhaustive]pub struct ClientDataBuilder { /* private fields */ }Expand description
A builder for ClientData.
Implementations§
source§impl ClientDataBuilder
 
impl ClientDataBuilder
sourcepub fn comment(self, input: impl Into<String>) -> Self
 
pub fn comment(self, input: impl Into<String>) -> Self
A user-defined comment about the disk upload.
sourcepub fn set_comment(self, input: Option<String>) -> Self
 
pub fn set_comment(self, input: Option<String>) -> Self
A user-defined comment about the disk upload.
sourcepub fn get_comment(&self) -> &Option<String>
 
pub fn get_comment(&self) -> &Option<String>
A user-defined comment about the disk upload.
sourcepub fn upload_end(self, input: DateTime) -> Self
 
pub fn upload_end(self, input: DateTime) -> Self
The time that the disk upload ends.
sourcepub fn set_upload_end(self, input: Option<DateTime>) -> Self
 
pub fn set_upload_end(self, input: Option<DateTime>) -> Self
The time that the disk upload ends.
sourcepub fn get_upload_end(&self) -> &Option<DateTime>
 
pub fn get_upload_end(&self) -> &Option<DateTime>
The time that the disk upload ends.
sourcepub fn upload_size(self, input: f64) -> Self
 
pub fn upload_size(self, input: f64) -> Self
The size of the uploaded disk image, in GiB.
sourcepub fn set_upload_size(self, input: Option<f64>) -> Self
 
pub fn set_upload_size(self, input: Option<f64>) -> Self
The size of the uploaded disk image, in GiB.
sourcepub fn get_upload_size(&self) -> &Option<f64>
 
pub fn get_upload_size(&self) -> &Option<f64>
The size of the uploaded disk image, in GiB.
sourcepub fn upload_start(self, input: DateTime) -> Self
 
pub fn upload_start(self, input: DateTime) -> Self
The time that the disk upload starts.
sourcepub fn set_upload_start(self, input: Option<DateTime>) -> Self
 
pub fn set_upload_start(self, input: Option<DateTime>) -> Self
The time that the disk upload starts.
sourcepub fn get_upload_start(&self) -> &Option<DateTime>
 
pub fn get_upload_start(&self) -> &Option<DateTime>
The time that the disk upload starts.
sourcepub fn build(self) -> ClientData
 
pub fn build(self) -> ClientData
Consumes the builder and constructs a ClientData.
Trait Implementations§
source§impl Clone for ClientDataBuilder
 
impl Clone for ClientDataBuilder
source§fn clone(&self) -> ClientDataBuilder
 
fn clone(&self) -> ClientDataBuilder
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 moresource§impl Debug for ClientDataBuilder
 
impl Debug for ClientDataBuilder
source§impl Default for ClientDataBuilder
 
impl Default for ClientDataBuilder
source§fn default() -> ClientDataBuilder
 
fn default() -> ClientDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClientDataBuilder
 
impl PartialEq for ClientDataBuilder
source§fn eq(&self, other: &ClientDataBuilder) -> bool
 
fn eq(&self, other: &ClientDataBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ClientDataBuilder
Auto Trait Implementations§
impl Freeze for ClientDataBuilder
impl RefUnwindSafe for ClientDataBuilder
impl Send for ClientDataBuilder
impl Sync for ClientDataBuilder
impl Unpin for ClientDataBuilder
impl UnwindSafe for ClientDataBuilder
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
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>
Creates a shared type from an unshared type.