pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateCodeRepositoryInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code_repository_name(self, input: impl Into<String>) -> Self
pub fn code_repository_name(self, input: impl Into<String>) -> Self
The name of the Git repository to update.
sourcepub fn set_code_repository_name(self, input: Option<String>) -> Self
pub fn set_code_repository_name(self, input: Option<String>) -> Self
The name of the Git repository to update.
sourcepub fn git_config(self, input: GitConfigForUpdate) -> Self
pub fn git_config(self, input: GitConfigForUpdate) -> Self
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
sourcepub fn set_git_config(self, input: Option<GitConfigForUpdate>) -> Self
pub fn set_git_config(self, input: Option<GitConfigForUpdate>) -> Self
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
sourcepub fn build(self) -> Result<UpdateCodeRepositoryInput, BuildError>
pub fn build(self) -> Result<UpdateCodeRepositoryInput, BuildError>
Consumes the builder and constructs a UpdateCodeRepositoryInput
.