Struct aws_sdk_proton::operation::create_template_sync_config::builders::CreateTemplateSyncConfigInputBuilder
source · #[non_exhaustive]pub struct CreateTemplateSyncConfigInputBuilder { /* private fields */ }
Expand description
A builder for CreateTemplateSyncConfigInput
.
Implementations§
source§impl CreateTemplateSyncConfigInputBuilder
impl CreateTemplateSyncConfigInputBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of your registered template.
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 name of your registered template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of your registered template.
sourcepub fn template_type(self, input: TemplateType) -> Self
pub fn template_type(self, input: TemplateType) -> Self
The type of the registered template.
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 type of the registered template.
sourcepub fn get_template_type(&self) -> &Option<TemplateType>
pub fn get_template_type(&self) -> &Option<TemplateType>
The type of the registered template.
sourcepub fn repository_provider(self, input: RepositoryProvider) -> Self
pub fn repository_provider(self, input: RepositoryProvider) -> Self
The provider type for your repository.
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 provider type for your repository.
sourcepub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
pub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
The provider type for your repository.
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 repository subdirectory path to your template bundle directory. When included, Proton 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 repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository directory.
sourcepub fn get_subdirectory(&self) -> &Option<String>
pub fn get_subdirectory(&self) -> &Option<String>
A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository directory.
sourcepub fn build(self) -> Result<CreateTemplateSyncConfigInput, BuildError>
pub fn build(self) -> Result<CreateTemplateSyncConfigInput, BuildError>
Consumes the builder and constructs a CreateTemplateSyncConfigInput
.
source§impl CreateTemplateSyncConfigInputBuilder
impl CreateTemplateSyncConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTemplateSyncConfigOutput, SdkError<CreateTemplateSyncConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTemplateSyncConfigOutput, SdkError<CreateTemplateSyncConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTemplateSyncConfigInputBuilder
impl Clone for CreateTemplateSyncConfigInputBuilder
source§fn clone(&self) -> CreateTemplateSyncConfigInputBuilder
fn clone(&self) -> CreateTemplateSyncConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateTemplateSyncConfigInputBuilder
impl Default for CreateTemplateSyncConfigInputBuilder
source§fn default() -> CreateTemplateSyncConfigInputBuilder
fn default() -> CreateTemplateSyncConfigInputBuilder
source§impl PartialEq for CreateTemplateSyncConfigInputBuilder
impl PartialEq for CreateTemplateSyncConfigInputBuilder
source§fn eq(&self, other: &CreateTemplateSyncConfigInputBuilder) -> bool
fn eq(&self, other: &CreateTemplateSyncConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTemplateSyncConfigInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTemplateSyncConfigInputBuilder
impl RefUnwindSafe for CreateTemplateSyncConfigInputBuilder
impl Send for CreateTemplateSyncConfigInputBuilder
impl Sync for CreateTemplateSyncConfigInputBuilder
impl Unpin for CreateTemplateSyncConfigInputBuilder
impl UnwindSafe for CreateTemplateSyncConfigInputBuilder
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