Struct aws_sdk_proton::types::builders::ServiceSyncConfigBuilder
source · #[non_exhaustive]pub struct ServiceSyncConfigBuilder { /* private fields */ }
Expand description
A builder for ServiceSyncConfig
.
Implementations§
source§impl ServiceSyncConfigBuilder
impl ServiceSyncConfigBuilder
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service that the service instance is added to.
This field is required.sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service that the service instance is added to.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service that the service instance is added to.
sourcepub fn repository_provider(self, input: RepositoryProvider) -> Self
pub fn repository_provider(self, input: RepositoryProvider) -> Self
The name of the repository provider that holds the repository Proton will sync with.
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 name of the repository provider that holds the repository Proton will sync with.
sourcepub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
pub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
The name of the repository provider that holds the repository Proton will sync with.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the code repository that holds the service code Proton will sync with.
This field is required.sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the code repository that holds the service code Proton will sync with.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the code repository that holds the service code Proton will sync with.
sourcepub fn branch(self, input: impl Into<String>) -> Self
pub fn branch(self, input: impl Into<String>) -> Self
The name of the code repository branch that holds the service code Proton will sync with.
This field is required.sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The name of the code repository branch that holds the service code Proton will sync with.
sourcepub fn get_branch(&self) -> &Option<String>
pub fn get_branch(&self) -> &Option<String>
The name of the code repository branch that holds the service code Proton will sync with.
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The file path to the service sync configuration file.
This field is required.sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The file path to the service sync configuration file.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The file path to the service sync configuration file.
sourcepub fn build(self) -> Result<ServiceSyncConfig, BuildError>
pub fn build(self) -> Result<ServiceSyncConfig, BuildError>
Consumes the builder and constructs a ServiceSyncConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServiceSyncConfigBuilder
impl Clone for ServiceSyncConfigBuilder
source§fn clone(&self) -> ServiceSyncConfigBuilder
fn clone(&self) -> ServiceSyncConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceSyncConfigBuilder
impl Debug for ServiceSyncConfigBuilder
source§impl Default for ServiceSyncConfigBuilder
impl Default for ServiceSyncConfigBuilder
source§fn default() -> ServiceSyncConfigBuilder
fn default() -> ServiceSyncConfigBuilder
source§impl PartialEq for ServiceSyncConfigBuilder
impl PartialEq for ServiceSyncConfigBuilder
source§fn eq(&self, other: &ServiceSyncConfigBuilder) -> bool
fn eq(&self, other: &ServiceSyncConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceSyncConfigBuilder
Auto Trait Implementations§
impl Freeze for ServiceSyncConfigBuilder
impl RefUnwindSafe for ServiceSyncConfigBuilder
impl Send for ServiceSyncConfigBuilder
impl Sync for ServiceSyncConfigBuilder
impl Unpin for ServiceSyncConfigBuilder
impl UnwindSafe for ServiceSyncConfigBuilder
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