pub struct Builder { /* private fields */ }
Expand description
A builder for GetRepositorySyncStatusInput
.
Implementations§
source§impl Builder
impl Builder
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 repository_provider(self, input: RepositoryProvider) -> Self
pub fn repository_provider(self, input: RepositoryProvider) -> Self
The repository provider.
sourcepub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The repository branch.
sourcepub fn set_sync_type(self, input: Option<SyncType>) -> Self
pub fn set_sync_type(self, input: Option<SyncType>) -> Self
The repository sync type.
sourcepub fn build(self) -> Result<GetRepositorySyncStatusInput, BuildError>
pub fn build(self) -> Result<GetRepositorySyncStatusInput, BuildError>
Consumes the builder and constructs a GetRepositorySyncStatusInput
.