Struct aws_sdk_codecommit::operation::update_repository_description::builders::UpdateRepositoryDescriptionFluentBuilder
source · pub struct UpdateRepositoryDescriptionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRepositoryDescription
.
Sets or changes the comment or description for 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 UpdateRepositoryDescriptionFluentBuilder
impl UpdateRepositoryDescriptionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRepositoryDescriptionInputBuilder
pub fn as_input(&self) -> &UpdateRepositoryDescriptionInputBuilder
Access the UpdateRepositoryDescription as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRepositoryDescriptionOutput, SdkError<UpdateRepositoryDescriptionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRepositoryDescriptionOutput, SdkError<UpdateRepositoryDescriptionError, 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<UpdateRepositoryDescriptionOutput, UpdateRepositoryDescriptionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRepositoryDescriptionOutput, UpdateRepositoryDescriptionError, 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 set or change the comment or description for.
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 set or change the comment or description for.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository to set or change the comment or description for.
sourcepub fn repository_description(self, input: impl Into<String>) -> Self
pub fn repository_description(self, input: impl Into<String>) -> Self
The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
sourcepub fn set_repository_description(self, input: Option<String>) -> Self
pub fn set_repository_description(self, input: Option<String>) -> Self
The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
sourcepub fn get_repository_description(&self) -> &Option<String>
pub fn get_repository_description(&self) -> &Option<String>
The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
Trait Implementations§
source§impl Clone for UpdateRepositoryDescriptionFluentBuilder
impl Clone for UpdateRepositoryDescriptionFluentBuilder
source§fn clone(&self) -> UpdateRepositoryDescriptionFluentBuilder
fn clone(&self) -> UpdateRepositoryDescriptionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more