Struct aws_sdk_codecommit::types::builders::SetFileModeEntryBuilder
source · #[non_exhaustive]pub struct SetFileModeEntryBuilder { /* private fields */ }
Expand description
A builder for SetFileModeEntry
.
Implementations§
source§impl SetFileModeEntryBuilder
impl SetFileModeEntryBuilder
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The full path to the file, including the name of the file.
This field is required.sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The full path to the file, including the name of the file.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The full path to the file, including the name of the file.
sourcepub fn file_mode(self, input: FileModeTypeEnum) -> Self
pub fn file_mode(self, input: FileModeTypeEnum) -> Self
The file mode for the file.
This field is required.sourcepub fn set_file_mode(self, input: Option<FileModeTypeEnum>) -> Self
pub fn set_file_mode(self, input: Option<FileModeTypeEnum>) -> Self
The file mode for the file.
sourcepub fn get_file_mode(&self) -> &Option<FileModeTypeEnum>
pub fn get_file_mode(&self) -> &Option<FileModeTypeEnum>
The file mode for the file.
sourcepub fn build(self) -> Result<SetFileModeEntry, BuildError>
pub fn build(self) -> Result<SetFileModeEntry, BuildError>
Consumes the builder and constructs a SetFileModeEntry
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SetFileModeEntryBuilder
impl Clone for SetFileModeEntryBuilder
source§fn clone(&self) -> SetFileModeEntryBuilder
fn clone(&self) -> SetFileModeEntryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SetFileModeEntryBuilder
impl Debug for SetFileModeEntryBuilder
source§impl Default for SetFileModeEntryBuilder
impl Default for SetFileModeEntryBuilder
source§fn default() -> SetFileModeEntryBuilder
fn default() -> SetFileModeEntryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SetFileModeEntryBuilder
impl PartialEq for SetFileModeEntryBuilder
source§fn eq(&self, other: &SetFileModeEntryBuilder) -> bool
fn eq(&self, other: &SetFileModeEntryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetFileModeEntryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SetFileModeEntryBuilder
impl Send for SetFileModeEntryBuilder
impl Sync for SetFileModeEntryBuilder
impl Unpin for SetFileModeEntryBuilder
impl UnwindSafe for SetFileModeEntryBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.