pub struct GetRepositoryFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRepository
.
Returns information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
Implementations§
source§impl GetRepositoryFluentBuilder
impl GetRepositoryFluentBuilder
sourcepub fn as_input(&self) -> &GetRepositoryInputBuilder
pub fn as_input(&self) -> &GetRepositoryInputBuilder
Access the GetRepository as a reference.
sourcepub async fn send(
self
) -> Result<GetRepositoryOutput, SdkError<GetRepositoryError, HttpResponse>>
pub async fn send( self ) -> Result<GetRepositoryOutput, SdkError<GetRepositoryError, 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<GetRepositoryOutput, GetRepositoryError, Self>
pub fn customize( self ) -> CustomizableOperation<GetRepositoryOutput, GetRepositoryError, 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 to get information about.
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 to get information about.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository to get information about.
Trait Implementations§
source§impl Clone for GetRepositoryFluentBuilder
impl Clone for GetRepositoryFluentBuilder
source§fn clone(&self) -> GetRepositoryFluentBuilder
fn clone(&self) -> GetRepositoryFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more