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 ==.