Struct aws_sdk_codecommit::types::builders::DeleteFileEntryBuilder
source · #[non_exhaustive]pub struct DeleteFileEntryBuilder { /* private fields */ }
Expand description
A builder for DeleteFileEntry
.
Implementations§
source§impl DeleteFileEntryBuilder
impl DeleteFileEntryBuilder
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The full path of the file to be deleted, 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 of the file to be deleted, 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 of the file to be deleted, including the name of the file.
sourcepub fn build(self) -> Result<DeleteFileEntry, BuildError>
pub fn build(self) -> Result<DeleteFileEntry, BuildError>
Consumes the builder and constructs a DeleteFileEntry
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeleteFileEntryBuilder
impl Clone for DeleteFileEntryBuilder
source§fn clone(&self) -> DeleteFileEntryBuilder
fn clone(&self) -> DeleteFileEntryBuilder
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 DeleteFileEntryBuilder
impl Debug for DeleteFileEntryBuilder
source§impl Default for DeleteFileEntryBuilder
impl Default for DeleteFileEntryBuilder
source§fn default() -> DeleteFileEntryBuilder
fn default() -> DeleteFileEntryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteFileEntryBuilder
impl PartialEq for DeleteFileEntryBuilder
source§fn eq(&self, other: &DeleteFileEntryBuilder) -> bool
fn eq(&self, other: &DeleteFileEntryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteFileEntryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteFileEntryBuilder
impl Send for DeleteFileEntryBuilder
impl Sync for DeleteFileEntryBuilder
impl Unpin for DeleteFileEntryBuilder
impl UnwindSafe for DeleteFileEntryBuilder
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.