Struct aws_sdk_proton::operation::update_template_sync_config::builders::UpdateTemplateSyncConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateTemplateSyncConfigInputBuilder { /* private fields */ }Expand description
A builder for UpdateTemplateSyncConfigInput.
Implementations§
source§impl UpdateTemplateSyncConfigInputBuilder
impl UpdateTemplateSyncConfigInputBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The synced template name.
This field is required.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.
This field is required.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.
This field is required.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 branch(self, input: impl Into<String>) -> Self
pub fn branch(self, input: impl Into<String>) -> Self
The repository branch for your template.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateTemplateSyncConfigInput, BuildError>
pub fn build(self) -> Result<UpdateTemplateSyncConfigInput, BuildError>
Consumes the builder and constructs a UpdateTemplateSyncConfigInput.
source§impl UpdateTemplateSyncConfigInputBuilder
impl UpdateTemplateSyncConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTemplateSyncConfigOutput, SdkError<UpdateTemplateSyncConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTemplateSyncConfigOutput, SdkError<UpdateTemplateSyncConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTemplateSyncConfigInputBuilder
impl Clone for UpdateTemplateSyncConfigInputBuilder
source§fn clone(&self) -> UpdateTemplateSyncConfigInputBuilder
fn clone(&self) -> UpdateTemplateSyncConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateTemplateSyncConfigInputBuilder
impl Default for UpdateTemplateSyncConfigInputBuilder
source§fn default() -> UpdateTemplateSyncConfigInputBuilder
fn default() -> UpdateTemplateSyncConfigInputBuilder
source§impl PartialEq for UpdateTemplateSyncConfigInputBuilder
impl PartialEq for UpdateTemplateSyncConfigInputBuilder
source§fn eq(&self, other: &UpdateTemplateSyncConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateTemplateSyncConfigInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateTemplateSyncConfigInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTemplateSyncConfigInputBuilder
impl RefUnwindSafe for UpdateTemplateSyncConfigInputBuilder
impl Send for UpdateTemplateSyncConfigInputBuilder
impl Sync for UpdateTemplateSyncConfigInputBuilder
impl Unpin for UpdateTemplateSyncConfigInputBuilder
impl UnwindSafe for UpdateTemplateSyncConfigInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more