Struct aws_sdk_codecommit::types::builders::FileMetadataBuilder
source · #[non_exhaustive]pub struct FileMetadataBuilder { /* private fields */ }Expand description
A builder for FileMetadata.
Implementations§
source§impl FileMetadataBuilder
impl FileMetadataBuilder
sourcepub fn absolute_path(self, input: impl Into<String>) -> Self
pub fn absolute_path(self, input: impl Into<String>) -> Self
The full path to the file to be added or updated, including the name of the file.
sourcepub fn set_absolute_path(self, input: Option<String>) -> Self
pub fn set_absolute_path(self, input: Option<String>) -> Self
The full path to the file to be added or updated, including the name of the file.
sourcepub fn get_absolute_path(&self) -> &Option<String>
pub fn get_absolute_path(&self) -> &Option<String>
The full path to the file to be added or updated, including the name of the file.
sourcepub fn blob_id(self, input: impl Into<String>) -> Self
pub fn blob_id(self, input: impl Into<String>) -> Self
The blob ID that contains the file information.
sourcepub fn set_blob_id(self, input: Option<String>) -> Self
pub fn set_blob_id(self, input: Option<String>) -> Self
The blob ID that contains the file information.
sourcepub fn get_blob_id(&self) -> &Option<String>
pub fn get_blob_id(&self) -> &Option<String>
The blob ID that contains the file information.
sourcepub fn file_mode(self, input: FileModeTypeEnum) -> Self
pub fn file_mode(self, input: FileModeTypeEnum) -> Self
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
sourcepub fn set_file_mode(self, input: Option<FileModeTypeEnum>) -> Self
pub fn set_file_mode(self, input: Option<FileModeTypeEnum>) -> Self
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
sourcepub fn get_file_mode(&self) -> &Option<FileModeTypeEnum>
pub fn get_file_mode(&self) -> &Option<FileModeTypeEnum>
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
sourcepub fn build(self) -> FileMetadata
pub fn build(self) -> FileMetadata
Consumes the builder and constructs a FileMetadata.
Trait Implementations§
source§impl Clone for FileMetadataBuilder
impl Clone for FileMetadataBuilder
source§fn clone(&self) -> FileMetadataBuilder
fn clone(&self) -> FileMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FileMetadataBuilder
impl Debug for FileMetadataBuilder
source§impl Default for FileMetadataBuilder
impl Default for FileMetadataBuilder
source§fn default() -> FileMetadataBuilder
fn default() -> FileMetadataBuilder
source§impl PartialEq for FileMetadataBuilder
impl PartialEq for FileMetadataBuilder
source§fn eq(&self, other: &FileMetadataBuilder) -> bool
fn eq(&self, other: &FileMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FileMetadataBuilder
Auto Trait Implementations§
impl Freeze for FileMetadataBuilder
impl RefUnwindSafe for FileMetadataBuilder
impl Send for FileMetadataBuilder
impl Sync for FileMetadataBuilder
impl Unpin for FileMetadataBuilder
impl UnwindSafe for FileMetadataBuilder
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