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:
-
100644indicates read/write -
100755indicates read/write/execute -
160000indicates a submodule -
120000indicates 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:
-
100644indicates read/write -
100755indicates read/write/execute -
160000indicates a submodule -
120000indicates 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:
-
100644indicates read/write -
100755indicates read/write/execute -
160000indicates a submodule -
120000indicates 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 ==.impl StructuralPartialEq for BlobMetadataBuilder
Auto Trait Implementations§
impl Freeze for BlobMetadataBuilder
impl RefUnwindSafe for BlobMetadataBuilder
impl Send for BlobMetadataBuilder
impl Sync for BlobMetadataBuilder
impl Unpin for BlobMetadataBuilder
impl UnwindSafe for BlobMetadataBuilder
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