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
.