#[non_exhaustive]pub struct GetFolderInputBuilder { /* private fields */ }Expand description
A builder for GetFolderInput.
Implementations§
source§impl GetFolderInputBuilder
impl GetFolderInputBuilder
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository.
This field is required.sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository.
sourcepub fn commit_specifier(self, input: impl Into<String>) -> Self
pub fn commit_specifier(self, input: impl Into<String>) -> Self
A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.
sourcepub fn set_commit_specifier(self, input: Option<String>) -> Self
pub fn set_commit_specifier(self, input: Option<String>) -> Self
A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.
sourcepub fn get_commit_specifier(&self) -> &Option<String>
pub fn get_commit_specifier(&self) -> &Option<String>
A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.
sourcepub fn folder_path(self, input: impl Into<String>) -> Self
pub fn folder_path(self, input: impl Into<String>) -> Self
The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.
This field is required.sourcepub fn set_folder_path(self, input: Option<String>) -> Self
pub fn set_folder_path(self, input: Option<String>) -> Self
The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.
sourcepub fn get_folder_path(&self) -> &Option<String>
pub fn get_folder_path(&self) -> &Option<String>
The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.
sourcepub fn build(self) -> Result<GetFolderInput, BuildError>
pub fn build(self) -> Result<GetFolderInput, BuildError>
Consumes the builder and constructs a GetFolderInput.
source§impl GetFolderInputBuilder
impl GetFolderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetFolderOutput, SdkError<GetFolderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetFolderOutput, SdkError<GetFolderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetFolderInputBuilder
impl Clone for GetFolderInputBuilder
source§fn clone(&self) -> GetFolderInputBuilder
fn clone(&self) -> GetFolderInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetFolderInputBuilder
impl Debug for GetFolderInputBuilder
source§impl Default for GetFolderInputBuilder
impl Default for GetFolderInputBuilder
source§fn default() -> GetFolderInputBuilder
fn default() -> GetFolderInputBuilder
source§impl PartialEq for GetFolderInputBuilder
impl PartialEq for GetFolderInputBuilder
source§fn eq(&self, other: &GetFolderInputBuilder) -> bool
fn eq(&self, other: &GetFolderInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetFolderInputBuilder
Auto Trait Implementations§
impl Freeze for GetFolderInputBuilder
impl RefUnwindSafe for GetFolderInputBuilder
impl Send for GetFolderInputBuilder
impl Sync for GetFolderInputBuilder
impl Unpin for GetFolderInputBuilder
impl UnwindSafe for GetFolderInputBuilder
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