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 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 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 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 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
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more