Struct aws_sdk_proton::operation::create_service_sync_config::builders::CreateServiceSyncConfigFluentBuilder
source · pub struct CreateServiceSyncConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateServiceSyncConfig
.
Create the Proton Ops configuration file.
Implementations§
source§impl CreateServiceSyncConfigFluentBuilder
impl CreateServiceSyncConfigFluentBuilder
sourcepub fn as_input(&self) -> &CreateServiceSyncConfigInputBuilder
pub fn as_input(&self) -> &CreateServiceSyncConfigInputBuilder
Access the CreateServiceSyncConfig as a reference.
sourcepub async fn send(
self
) -> Result<CreateServiceSyncConfigOutput, SdkError<CreateServiceSyncConfigError, HttpResponse>>
pub async fn send( self ) -> Result<CreateServiceSyncConfigOutput, SdkError<CreateServiceSyncConfigError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<CreateServiceSyncConfigOutput, CreateServiceSyncConfigError, Self>, SdkError<CreateServiceSyncConfigError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateServiceSyncConfigOutput, CreateServiceSyncConfigError, Self>, SdkError<CreateServiceSyncConfigError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 the Proton Ops file is for.
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 the Proton Ops file is for.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service the Proton Ops file is for.
sourcepub fn repository_provider(self, input: RepositoryProvider) -> Self
pub fn repository_provider(self, input: RepositoryProvider) -> Self
The provider type for your repository.
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.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository name.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The repository name.
sourcepub fn branch(self, input: impl Into<String>) -> Self
pub fn branch(self, input: impl Into<String>) -> Self
The repository branch for your Proton Ops file.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The repository branch for your Proton Ops file.
sourcepub fn get_branch(&self) -> &Option<String>
pub fn get_branch(&self) -> &Option<String>
The repository branch for your Proton Ops file.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The path to the Proton Ops file.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The path to the Proton Ops file.
Trait Implementations§
source§impl Clone for CreateServiceSyncConfigFluentBuilder
impl Clone for CreateServiceSyncConfigFluentBuilder
source§fn clone(&self) -> CreateServiceSyncConfigFluentBuilder
fn clone(&self) -> CreateServiceSyncConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more