Struct aws_sdk_proton::types::builders::TemplateSyncConfigBuilder
source · #[non_exhaustive]pub struct TemplateSyncConfigBuilder { /* private fields */ }
Expand description
A builder for TemplateSyncConfig
.
Implementations§
source§impl TemplateSyncConfigBuilder
impl TemplateSyncConfigBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The template name.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The template name.
sourcepub fn template_type(self, input: TemplateType) -> Self
pub fn template_type(self, input: TemplateType) -> Self
The template type.
sourcepub fn set_template_type(self, input: Option<TemplateType>) -> Self
pub fn set_template_type(self, input: Option<TemplateType>) -> Self
The 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.
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.
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.
sourcepub fn build(self) -> TemplateSyncConfig
pub fn build(self) -> TemplateSyncConfig
Consumes the builder and constructs a TemplateSyncConfig
.
Trait Implementations§
source§impl Clone for TemplateSyncConfigBuilder
impl Clone for TemplateSyncConfigBuilder
source§fn clone(&self) -> TemplateSyncConfigBuilder
fn clone(&self) -> TemplateSyncConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TemplateSyncConfigBuilder
impl Debug for TemplateSyncConfigBuilder
source§impl Default for TemplateSyncConfigBuilder
impl Default for TemplateSyncConfigBuilder
source§fn default() -> TemplateSyncConfigBuilder
fn default() -> TemplateSyncConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TemplateSyncConfigBuilder> for TemplateSyncConfigBuilder
impl PartialEq<TemplateSyncConfigBuilder> for TemplateSyncConfigBuilder
source§fn eq(&self, other: &TemplateSyncConfigBuilder) -> bool
fn eq(&self, other: &TemplateSyncConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.