Struct aws_sdk_proton::operation::update_template_sync_config::builders::UpdateTemplateSyncConfigFluentBuilder
source · pub struct UpdateTemplateSyncConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTemplateSyncConfig
.
Update template sync configuration parameters, except for the templateName
and templateType
. Repository details (branch, name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository
.
Implementations§
source§impl UpdateTemplateSyncConfigFluentBuilder
impl UpdateTemplateSyncConfigFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTemplateSyncConfigInputBuilder
pub fn as_input(&self) -> &UpdateTemplateSyncConfigInputBuilder
Access the UpdateTemplateSyncConfig as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTemplateSyncConfigOutput, SdkError<UpdateTemplateSyncConfigError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTemplateSyncConfigOutput, SdkError<UpdateTemplateSyncConfigError, 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<UpdateTemplateSyncConfigOutput, UpdateTemplateSyncConfigError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateTemplateSyncConfigOutput, UpdateTemplateSyncConfigError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The synced template name.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The synced template name.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The synced template name.
sourcepub fn template_type(self, input: TemplateType) -> Self
pub fn template_type(self, input: TemplateType) -> Self
The synced template type.
sourcepub fn set_template_type(self, input: Option<TemplateType>) -> Self
pub fn set_template_type(self, input: Option<TemplateType>) -> Self
The synced template type.
sourcepub fn get_template_type(&self) -> &Option<TemplateType>
pub fn get_template_type(&self) -> &Option<TemplateType>
The synced template type.
sourcepub fn repository_provider(self, input: RepositoryProvider) -> Self
pub fn repository_provider(self, input: RepositoryProvider) -> Self
The repository provider.
sourcepub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
sourcepub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
pub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
The repository provider.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The repository name (for example, myrepos/myrepo
).
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository name (for example, myrepos/myrepo
).
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The repository name (for example, myrepos/myrepo
).
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The repository branch for your template.
sourcepub fn get_branch(&self) -> &Option<String>
pub fn get_branch(&self) -> &Option<String>
The repository branch for your template.
sourcepub fn subdirectory(self, input: impl Into<String>) -> Self
pub fn subdirectory(self, input: impl Into<String>) -> Self
A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.
sourcepub fn set_subdirectory(self, input: Option<String>) -> Self
pub fn set_subdirectory(self, input: Option<String>) -> Self
A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.
sourcepub fn get_subdirectory(&self) -> &Option<String>
pub fn get_subdirectory(&self) -> &Option<String>
A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.
Trait Implementations§
source§impl Clone for UpdateTemplateSyncConfigFluentBuilder
impl Clone for UpdateTemplateSyncConfigFluentBuilder
source§fn clone(&self) -> UpdateTemplateSyncConfigFluentBuilder
fn clone(&self) -> UpdateTemplateSyncConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more