pub struct GetFolderFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetFolder
.
Returns the contents of a specified folder in a repository.
Implementations§
source§impl GetFolderFluentBuilder
impl GetFolderFluentBuilder
sourcepub fn as_input(&self) -> &GetFolderInputBuilder
pub fn as_input(&self) -> &GetFolderInputBuilder
Access the GetFolder as a reference.
sourcepub async fn send(
self
) -> Result<GetFolderOutput, SdkError<GetFolderError, HttpResponse>>
pub async fn send( self ) -> Result<GetFolderOutput, SdkError<GetFolderError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetFolderOutput, GetFolderError, Self>
pub fn customize( self ) -> CustomizableOperation<GetFolderOutput, GetFolderError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for GetFolderFluentBuilder
impl Clone for GetFolderFluentBuilder
source§fn clone(&self) -> GetFolderFluentBuilder
fn clone(&self) -> GetFolderFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more