Struct aws_sdk_codecommit::types::builders::BlobMetadataBuilder
source · #[non_exhaustive]pub struct BlobMetadataBuilder { /* private fields */ }
Expand description
A builder for BlobMetadata
.
Implementations§
source§impl BlobMetadataBuilder
impl BlobMetadataBuilder
sourcepub fn set_blob_id(self, input: Option<String>) -> Self
pub fn set_blob_id(self, input: Option<String>) -> Self
The full ID of the blob.
sourcepub fn get_blob_id(&self) -> &Option<String>
pub fn get_blob_id(&self) -> &Option<String>
The full ID of the blob.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The path to the blob and associated file name, if any.
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The path to the blob and associated file name, if any.
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The path to the blob and associated file name, if any.
sourcepub fn mode(self, input: impl Into<String>) -> Self
pub fn mode(self, input: impl Into<String>) -> Self
The file mode permissions of the blob. File mode permission codes include:
-
100644
indicates read/write -
100755
indicates read/write/execute -
160000
indicates a submodule -
120000
indicates a symlink
sourcepub fn set_mode(self, input: Option<String>) -> Self
pub fn set_mode(self, input: Option<String>) -> Self
The file mode permissions of the blob. File mode permission codes include:
-
100644
indicates read/write -
100755
indicates read/write/execute -
160000
indicates a submodule -
120000
indicates a symlink
sourcepub fn get_mode(&self) -> &Option<String>
pub fn get_mode(&self) -> &Option<String>
The file mode permissions of the blob. File mode permission codes include:
-
100644
indicates read/write -
100755
indicates read/write/execute -
160000
indicates a submodule -
120000
indicates a symlink
sourcepub fn build(self) -> BlobMetadata
pub fn build(self) -> BlobMetadata
Consumes the builder and constructs a BlobMetadata
.
Trait Implementations§
source§impl Clone for BlobMetadataBuilder
impl Clone for BlobMetadataBuilder
source§fn clone(&self) -> BlobMetadataBuilder
fn clone(&self) -> BlobMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BlobMetadataBuilder
impl Debug for BlobMetadataBuilder
source§impl Default for BlobMetadataBuilder
impl Default for BlobMetadataBuilder
source§fn default() -> BlobMetadataBuilder
fn default() -> BlobMetadataBuilder
source§impl PartialEq for BlobMetadataBuilder
impl PartialEq for BlobMetadataBuilder
source§fn eq(&self, other: &BlobMetadataBuilder) -> bool
fn eq(&self, other: &BlobMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.