Struct aws_sdk_glue::types::SourceControlDetails
source · #[non_exhaustive]pub struct SourceControlDetails {
pub provider: Option<SourceControlProvider>,
pub repository: Option<String>,
pub owner: Option<String>,
pub branch: Option<String>,
pub folder: Option<String>,
pub last_commit_id: Option<String>,
pub auth_strategy: Option<SourceControlAuthStrategy>,
pub auth_token: Option<String>,
}
Expand description
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.provider: Option<SourceControlProvider>
The provider for the remote repository.
repository: Option<String>
The name of the remote repository that contains the job artifacts.
owner: Option<String>
The owner of the remote repository that contains the job artifacts.
branch: Option<String>
An optional branch in the remote repository.
folder: Option<String>
An optional folder in the remote repository.
last_commit_id: Option<String>
The last commit ID for a commit in the remote repository.
auth_strategy: Option<SourceControlAuthStrategy>
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
auth_token: Option<String>
The value of an authorization token.
Implementations§
source§impl SourceControlDetails
impl SourceControlDetails
sourcepub fn provider(&self) -> Option<&SourceControlProvider>
pub fn provider(&self) -> Option<&SourceControlProvider>
The provider for the remote repository.
sourcepub fn repository(&self) -> Option<&str>
pub fn repository(&self) -> Option<&str>
The name of the remote repository that contains the job artifacts.
sourcepub fn owner(&self) -> Option<&str>
pub fn owner(&self) -> Option<&str>
The owner of the remote repository that contains the job artifacts.
sourcepub fn last_commit_id(&self) -> Option<&str>
pub fn last_commit_id(&self) -> Option<&str>
The last commit ID for a commit in the remote repository.
sourcepub fn auth_strategy(&self) -> Option<&SourceControlAuthStrategy>
pub fn auth_strategy(&self) -> Option<&SourceControlAuthStrategy>
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
sourcepub fn auth_token(&self) -> Option<&str>
pub fn auth_token(&self) -> Option<&str>
The value of an authorization token.
source§impl SourceControlDetails
impl SourceControlDetails
sourcepub fn builder() -> SourceControlDetailsBuilder
pub fn builder() -> SourceControlDetailsBuilder
Creates a new builder-style object to manufacture SourceControlDetails
.
Trait Implementations§
source§impl Clone for SourceControlDetails
impl Clone for SourceControlDetails
source§fn clone(&self) -> SourceControlDetails
fn clone(&self) -> SourceControlDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceControlDetails
impl Debug for SourceControlDetails
source§impl PartialEq for SourceControlDetails
impl PartialEq for SourceControlDetails
source§fn eq(&self, other: &SourceControlDetails) -> bool
fn eq(&self, other: &SourceControlDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceControlDetails
Auto Trait Implementations§
impl Freeze for SourceControlDetails
impl RefUnwindSafe for SourceControlDetails
impl Send for SourceControlDetails
impl Sync for SourceControlDetails
impl Unpin for SourceControlDetails
impl UnwindSafe for SourceControlDetails
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> 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