Struct aws_sdk_codeartifact::model::asset_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AssetSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn hashes(self, k: HashAlgorithm, v: impl Into<String>) -> Self
pub fn hashes(self, k: HashAlgorithm, v: impl Into<String>) -> Self
Adds a key-value pair to hashes
.
To override the contents of this collection use set_hashes
.
The hashes of the asset.
sourcepub fn set_hashes(self, input: Option<HashMap<HashAlgorithm, String>>) -> Self
pub fn set_hashes(self, input: Option<HashMap<HashAlgorithm, String>>) -> Self
The hashes of the asset.
sourcepub fn build(self) -> AssetSummary
pub fn build(self) -> AssetSummary
Consumes the builder and constructs a AssetSummary
.