Struct aws_sdk_codeartifact::operation::get_package_version_asset::builders::GetPackageVersionAssetOutputBuilder    
source · #[non_exhaustive]pub struct GetPackageVersionAssetOutputBuilder { /* private fields */ }Expand description
A builder for GetPackageVersionAssetOutput.
Implementations§
source§impl GetPackageVersionAssetOutputBuilder
 
impl GetPackageVersionAssetOutputBuilder
sourcepub fn asset(self, input: ByteStream) -> Self
 
pub fn asset(self, input: ByteStream) -> Self
The binary file, or asset, that is downloaded.
sourcepub fn set_asset(self, input: Option<ByteStream>) -> Self
 
pub fn set_asset(self, input: Option<ByteStream>) -> Self
The binary file, or asset, that is downloaded.
sourcepub fn get_asset(&self) -> &Option<ByteStream>
 
pub fn get_asset(&self) -> &Option<ByteStream>
The binary file, or asset, that is downloaded.
sourcepub fn asset_name(self, input: impl Into<String>) -> Self
 
pub fn asset_name(self, input: impl Into<String>) -> Self
The name of the asset that is downloaded.
sourcepub fn set_asset_name(self, input: Option<String>) -> Self
 
pub fn set_asset_name(self, input: Option<String>) -> Self
The name of the asset that is downloaded.
sourcepub fn get_asset_name(&self) -> &Option<String>
 
pub fn get_asset_name(&self) -> &Option<String>
The name of the asset that is downloaded.
sourcepub fn package_version(self, input: impl Into<String>) -> Self
 
pub fn package_version(self, input: impl Into<String>) -> Self
A string that contains the package version (for example, 3.5.2).
sourcepub fn set_package_version(self, input: Option<String>) -> Self
 
pub fn set_package_version(self, input: Option<String>) -> Self
A string that contains the package version (for example, 3.5.2).
sourcepub fn get_package_version(&self) -> &Option<String>
 
pub fn get_package_version(&self) -> &Option<String>
A string that contains the package version (for example, 3.5.2).
sourcepub fn package_version_revision(self, input: impl Into<String>) -> Self
 
pub fn package_version_revision(self, input: impl Into<String>) -> Self
The name of the package version revision that contains the downloaded asset.
sourcepub fn set_package_version_revision(self, input: Option<String>) -> Self
 
pub fn set_package_version_revision(self, input: Option<String>) -> Self
The name of the package version revision that contains the downloaded asset.
sourcepub fn get_package_version_revision(&self) -> &Option<String>
 
pub fn get_package_version_revision(&self) -> &Option<String>
The name of the package version revision that contains the downloaded asset.
sourcepub fn build(self) -> GetPackageVersionAssetOutput
 
pub fn build(self) -> GetPackageVersionAssetOutput
Consumes the builder and constructs a GetPackageVersionAssetOutput.
Trait Implementations§
source§impl Default for GetPackageVersionAssetOutputBuilder
 
impl Default for GetPackageVersionAssetOutputBuilder
source§fn default() -> GetPackageVersionAssetOutputBuilder
 
fn default() -> GetPackageVersionAssetOutputBuilder
Auto Trait Implementations§
impl !Freeze for GetPackageVersionAssetOutputBuilder
impl !RefUnwindSafe for GetPackageVersionAssetOutputBuilder
impl Send for GetPackageVersionAssetOutputBuilder
impl Sync for GetPackageVersionAssetOutputBuilder
impl Unpin for GetPackageVersionAssetOutputBuilder
impl !UnwindSafe for GetPackageVersionAssetOutputBuilder
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