#[non_exhaustive]pub struct UpdateCollectionDetailBuilder { /* private fields */ }
Expand description
A builder for UpdateCollectionDetail
.
Implementations§
source§impl UpdateCollectionDetailBuilder
impl UpdateCollectionDetailBuilder
sourcepub fn status(self, input: CollectionStatus) -> Self
pub fn status(self, input: CollectionStatus) -> Self
The current status of the collection.
sourcepub fn set_status(self, input: Option<CollectionStatus>) -> Self
pub fn set_status(self, input: Option<CollectionStatus>) -> Self
The current status of the collection.
sourcepub fn type(self, input: CollectionType) -> Self
pub fn type(self, input: CollectionType) -> Self
The collection type.
sourcepub fn set_type(self, input: Option<CollectionType>) -> Self
pub fn set_type(self, input: Option<CollectionType>) -> Self
The collection type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the collection.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the collection.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the collection.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the collection.
sourcepub fn created_date(self, input: i64) -> Self
pub fn created_date(self, input: i64) -> Self
The date and time when the collection was created.
sourcepub fn set_created_date(self, input: Option<i64>) -> Self
pub fn set_created_date(self, input: Option<i64>) -> Self
The date and time when the collection was created.
sourcepub fn last_modified_date(self, input: i64) -> Self
pub fn last_modified_date(self, input: i64) -> Self
The date and time when the collection was last modified.
sourcepub fn set_last_modified_date(self, input: Option<i64>) -> Self
pub fn set_last_modified_date(self, input: Option<i64>) -> Self
The date and time when the collection was last modified.
sourcepub fn build(self) -> UpdateCollectionDetail
pub fn build(self) -> UpdateCollectionDetail
Consumes the builder and constructs a UpdateCollectionDetail
.
Trait Implementations§
source§impl Clone for UpdateCollectionDetailBuilder
impl Clone for UpdateCollectionDetailBuilder
source§fn clone(&self) -> UpdateCollectionDetailBuilder
fn clone(&self) -> UpdateCollectionDetailBuilder
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 Default for UpdateCollectionDetailBuilder
impl Default for UpdateCollectionDetailBuilder
source§fn default() -> UpdateCollectionDetailBuilder
fn default() -> UpdateCollectionDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateCollectionDetailBuilder> for UpdateCollectionDetailBuilder
impl PartialEq<UpdateCollectionDetailBuilder> for UpdateCollectionDetailBuilder
source§fn eq(&self, other: &UpdateCollectionDetailBuilder) -> bool
fn eq(&self, other: &UpdateCollectionDetailBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCollectionDetailBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateCollectionDetailBuilder
impl Send for UpdateCollectionDetailBuilder
impl Sync for UpdateCollectionDetailBuilder
impl Unpin for UpdateCollectionDetailBuilder
impl UnwindSafe for UpdateCollectionDetailBuilder
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