Struct aws_sdk_datazone::operation::get_asset::builders::GetAssetInputBuilder
source · #[non_exhaustive]pub struct GetAssetInputBuilder { /* private fields */ }
Expand description
A builder for GetAssetInput
.
Implementations§
source§impl GetAssetInputBuilder
impl GetAssetInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain to which the asset belongs.
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 Amazon DataZone domain to which the asset belongs.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain to which the asset belongs.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone asset.
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 Amazon DataZone asset.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone asset.
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision of the Amazon DataZone asset.
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision of the Amazon DataZone asset.
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The revision of the Amazon DataZone asset.
sourcepub fn build(self) -> Result<GetAssetInput, BuildError>
pub fn build(self) -> Result<GetAssetInput, BuildError>
Consumes the builder and constructs a GetAssetInput
.
source§impl GetAssetInputBuilder
impl GetAssetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetAssetOutput, SdkError<GetAssetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetAssetOutput, SdkError<GetAssetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetAssetInputBuilder
impl Clone for GetAssetInputBuilder
source§fn clone(&self) -> GetAssetInputBuilder
fn clone(&self) -> GetAssetInputBuilder
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 GetAssetInputBuilder
impl Debug for GetAssetInputBuilder
source§impl Default for GetAssetInputBuilder
impl Default for GetAssetInputBuilder
source§fn default() -> GetAssetInputBuilder
fn default() -> GetAssetInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAssetInputBuilder
impl PartialEq for GetAssetInputBuilder
source§fn eq(&self, other: &GetAssetInputBuilder) -> bool
fn eq(&self, other: &GetAssetInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAssetInputBuilder
Auto Trait Implementations§
impl Freeze for GetAssetInputBuilder
impl RefUnwindSafe for GetAssetInputBuilder
impl Send for GetAssetInputBuilder
impl Sync for GetAssetInputBuilder
impl Unpin for GetAssetInputBuilder
impl UnwindSafe for GetAssetInputBuilder
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.