Struct aws_sdk_proton::model::repository_sync_definition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RepositorySyncDefinition
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_target(self, input: Option<String>) -> Self
pub fn set_target(self, input: Option<String>) -> Self
The resource that is synced to.
sourcepub fn set_parent(self, input: Option<String>) -> Self
pub fn set_parent(self, input: Option<String>) -> Self
The resource that is synced from.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The repository branch.
sourcepub fn set_directory(self, input: Option<String>) -> Self
pub fn set_directory(self, input: Option<String>) -> Self
The directory in the repository.
sourcepub fn build(self) -> RepositorySyncDefinition
pub fn build(self) -> RepositorySyncDefinition
Consumes the builder and constructs a RepositorySyncDefinition
.