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 ==.impl StructuralPartialEq for FileBuilder
Auto Trait Implementations§
impl Freeze for FileBuilder
impl RefUnwindSafe for FileBuilder
impl Send for FileBuilder
impl Sync for FileBuilder
impl Unpin for FileBuilder
impl UnwindSafe for FileBuilder
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