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.
This field is required.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 for GitConfigBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for GitConfigBuilder
Auto Trait Implementations§
impl Freeze for GitConfigBuilder
impl RefUnwindSafe for GitConfigBuilder
impl Send for GitConfigBuilder
impl Sync for GitConfigBuilder
impl Unpin for GitConfigBuilder
impl UnwindSafe for GitConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more