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 ==
.