#[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 ==
.