pub struct UpdateTemplateSyncConfig { /* 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 UpdateTemplateSyncConfig
impl UpdateTemplateSyncConfig
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTemplateSyncConfig, AwsResponseRetryClassifier>, SdkError<UpdateTemplateSyncConfigError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTemplateSyncConfig, AwsResponseRetryClassifier>, SdkError<UpdateTemplateSyncConfigError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateTemplateSyncConfigOutput, SdkError<UpdateTemplateSyncConfigError>>
pub async fn send(
self
) -> Result<UpdateTemplateSyncConfigOutput, SdkError<UpdateTemplateSyncConfigError>>
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 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 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 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 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 set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
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.
Trait Implementations§
source§impl Clone for UpdateTemplateSyncConfig
impl Clone for UpdateTemplateSyncConfig
source§fn clone(&self) -> UpdateTemplateSyncConfig
fn clone(&self) -> UpdateTemplateSyncConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more