Struct aws_sdk_sagemaker::model::git_config_for_update::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GitConfigForUpdate
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git 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) -> GitConfigForUpdate
pub fn build(self) -> GitConfigForUpdate
Consumes the builder and constructs a GitConfigForUpdate
.