#[non_exhaustive]pub struct GetListingOutputBuilder { /* private fields */ }Expand description
A builder for GetListingOutput.
Implementations§
source§impl GetListingOutputBuilder
impl GetListingOutputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the Amazon DataZone domain.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the listing.
This field is required.sourcepub fn listing_revision(self, input: impl Into<String>) -> Self
pub fn listing_revision(self, input: impl Into<String>) -> Self
The revision of a listing.
This field is required.sourcepub fn set_listing_revision(self, input: Option<String>) -> Self
pub fn set_listing_revision(self, input: Option<String>) -> Self
The revision of a listing.
sourcepub fn get_listing_revision(&self) -> &Option<String>
pub fn get_listing_revision(&self) -> &Option<String>
The revision of a listing.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the listing was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the listing was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the listing was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the listing was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the listing was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the listing was updated.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the listing.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the listing.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the listing.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who updated the listing.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The Amazon DataZone user who updated the listing.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The Amazon DataZone user who updated the listing.
sourcepub fn item(self, input: ListingItem) -> Self
pub fn item(self, input: ListingItem) -> Self
The details of a listing.
sourcepub fn set_item(self, input: Option<ListingItem>) -> Self
pub fn set_item(self, input: Option<ListingItem>) -> Self
The details of a listing.
sourcepub fn get_item(&self) -> &Option<ListingItem>
pub fn get_item(&self) -> &Option<ListingItem>
The details of a listing.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the listing.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the listing.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the listing.
sourcepub fn status(self, input: ListingStatus) -> Self
pub fn status(self, input: ListingStatus) -> Self
The status of the listing.
sourcepub fn set_status(self, input: Option<ListingStatus>) -> Self
pub fn set_status(self, input: Option<ListingStatus>) -> Self
The status of the listing.
sourcepub fn get_status(&self) -> &Option<ListingStatus>
pub fn get_status(&self) -> &Option<ListingStatus>
The status of the listing.
sourcepub fn build(self) -> Result<GetListingOutput, BuildError>
pub fn build(self) -> Result<GetListingOutput, BuildError>
Consumes the builder and constructs a GetListingOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetListingOutputBuilder
impl Clone for GetListingOutputBuilder
source§fn clone(&self) -> GetListingOutputBuilder
fn clone(&self) -> GetListingOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetListingOutputBuilder
impl Debug for GetListingOutputBuilder
source§impl Default for GetListingOutputBuilder
impl Default for GetListingOutputBuilder
source§fn default() -> GetListingOutputBuilder
fn default() -> GetListingOutputBuilder
source§impl PartialEq for GetListingOutputBuilder
impl PartialEq for GetListingOutputBuilder
source§fn eq(&self, other: &GetListingOutputBuilder) -> bool
fn eq(&self, other: &GetListingOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetListingOutputBuilder
Auto Trait Implementations§
impl Freeze for GetListingOutputBuilder
impl RefUnwindSafe for GetListingOutputBuilder
impl Send for GetListingOutputBuilder
impl Sync for GetListingOutputBuilder
impl Unpin for GetListingOutputBuilder
impl UnwindSafe for GetListingOutputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more