Struct aws_sdk_sagemaker::types::builders::GitConfigBuilder
source · #[non_exhaustive]pub struct GitConfigBuilder { /* private fields */ }
Expand description
A builder for GitConfig
.
Implementations§
source§impl GitConfigBuilder
impl GitConfigBuilder
sourcepub fn repository_url(self, input: impl Into<String>) -> Self
pub fn repository_url(self, input: impl Into<String>) -> Self
The URL where the Git repository is located.
sourcepub fn set_repository_url(self, input: Option<String>) -> Self
pub fn set_repository_url(self, input: Option<String>) -> Self
The URL where the Git repository is located.
sourcepub fn get_repository_url(&self) -> &Option<String>
pub fn get_repository_url(&self) -> &Option<String>
The URL where the Git repository is located.
sourcepub fn branch(self, input: impl Into<String>) -> Self
pub fn branch(self, input: impl Into<String>) -> Self
The default branch for the Git repository.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The default branch for the Git repository.
sourcepub fn get_branch(&self) -> &Option<String>
pub fn get_branch(&self) -> &Option<String>
The default branch for the Git repository.
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 get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
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}
Trait Implementations§
source§impl Clone for GitConfigBuilder
impl Clone for GitConfigBuilder
source§fn clone(&self) -> GitConfigBuilder
fn clone(&self) -> GitConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GitConfigBuilder
impl Debug for GitConfigBuilder
source§impl Default for GitConfigBuilder
impl Default for GitConfigBuilder
source§fn default() -> GitConfigBuilder
fn default() -> GitConfigBuilder
source§impl PartialEq<GitConfigBuilder> for GitConfigBuilder
impl PartialEq<GitConfigBuilder> for GitConfigBuilder
source§fn eq(&self, other: &GitConfigBuilder) -> bool
fn eq(&self, other: &GitConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.