Struct aws_sdk_codecommit::types::builders::FileBuilder
source · #[non_exhaustive]pub struct FileBuilder { /* private fields */ }
Expand description
A builder for File
.
Implementations§
source§impl FileBuilder
impl FileBuilder
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 absolute_path(self, input: impl Into<String>) -> Self
pub fn absolute_path(self, input: impl Into<String>) -> Self
The fully qualified path to the file in the repository.
sourcepub fn set_absolute_path(self, input: Option<String>) -> Self
pub fn set_absolute_path(self, input: Option<String>) -> Self
The fully qualified path to the file in the repository.
sourcepub fn get_absolute_path(&self) -> &Option<String>
pub fn get_absolute_path(&self) -> &Option<String>
The fully qualified path to the file in the repository.
sourcepub fn relative_path(self, input: impl Into<String>) -> Self
pub fn relative_path(self, input: impl Into<String>) -> Self
The relative path of the file from the folder where the query originated.
sourcepub fn set_relative_path(self, input: Option<String>) -> Self
pub fn set_relative_path(self, input: Option<String>) -> Self
The relative path of the file from the folder where the query originated.
sourcepub fn get_relative_path(&self) -> &Option<String>
pub fn get_relative_path(&self) -> &Option<String>
The relative path of the file from the folder where the query originated.
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.
Trait Implementations§
source§impl Clone for FileBuilder
impl Clone for FileBuilder
source§fn clone(&self) -> FileBuilder
fn clone(&self) -> FileBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FileBuilder
impl Debug for FileBuilder
source§impl Default for FileBuilder
impl Default for FileBuilder
source§fn default() -> FileBuilder
fn default() -> FileBuilder
source§impl PartialEq for FileBuilder
impl PartialEq for FileBuilder
source§fn eq(&self, other: &FileBuilder) -> bool
fn eq(&self, other: &FileBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.