Struct aws_sdk_proton::input::get_repository_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetRepositoryInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn provider(self, input: RepositoryProvider) -> Self
pub fn provider(self, input: RepositoryProvider) -> Self
The repository provider.
sourcepub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The repository name, for example myrepos/myrepo
.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The repository name, for example myrepos/myrepo
.
sourcepub fn build(self) -> Result<GetRepositoryInput, BuildError>
pub fn build(self) -> Result<GetRepositoryInput, BuildError>
Consumes the builder and constructs a GetRepositoryInput
.