#[non_exhaustive]pub struct GetDataProductInputBuilder { /* private fields */ }Expand description
A builder for GetDataProductInput.
Implementations§
source§impl GetDataProductInputBuilder
impl GetDataProductInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the domain where the data product lives.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the domain where the data product lives.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the domain where the data product lives.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The ID of the data product.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The ID of the data product.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The ID of the data product.
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision of the data product.
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The revision of the data product.
sourcepub fn build(self) -> Result<GetDataProductInput, BuildError>
pub fn build(self) -> Result<GetDataProductInput, BuildError>
Consumes the builder and constructs a GetDataProductInput.
source§impl GetDataProductInputBuilder
impl GetDataProductInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetDataProductOutput, SdkError<GetDataProductError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetDataProductOutput, SdkError<GetDataProductError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDataProductInputBuilder
impl Clone for GetDataProductInputBuilder
source§fn clone(&self) -> GetDataProductInputBuilder
fn clone(&self) -> GetDataProductInputBuilder
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 GetDataProductInputBuilder
impl Debug for GetDataProductInputBuilder
source§impl Default for GetDataProductInputBuilder
impl Default for GetDataProductInputBuilder
source§fn default() -> GetDataProductInputBuilder
fn default() -> GetDataProductInputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GetDataProductInputBuilder
Auto Trait Implementations§
impl Freeze for GetDataProductInputBuilder
impl RefUnwindSafe for GetDataProductInputBuilder
impl Send for GetDataProductInputBuilder
impl Sync for GetDataProductInputBuilder
impl Unpin for GetDataProductInputBuilder
impl UnwindSafe for GetDataProductInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.