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 async fn customize(
self
) -> Result<CustomizableOperation<CreateServiceSyncConfig, AwsResponseRetryClassifier>, SdkError<CreateServiceSyncConfigError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateServiceSyncConfig, AwsResponseRetryClassifier>, SdkError<CreateServiceSyncConfigError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateServiceSyncConfigOutput, SdkError<CreateServiceSyncConfigError>>
pub async fn send( self ) -> Result<CreateServiceSyncConfigOutput, SdkError<CreateServiceSyncConfigError>>
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 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 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 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 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 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.
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