Struct aws_sdk_glue::types::builders::SourceControlDetailsBuilder
source · #[non_exhaustive]pub struct SourceControlDetailsBuilder { /* private fields */ }Expand description
A builder for SourceControlDetails.
Implementations§
source§impl SourceControlDetailsBuilder
impl SourceControlDetailsBuilder
sourcepub fn provider(self, input: SourceControlProvider) -> Self
pub fn provider(self, input: SourceControlProvider) -> Self
The provider for the remote repository.
sourcepub fn set_provider(self, input: Option<SourceControlProvider>) -> Self
pub fn set_provider(self, input: Option<SourceControlProvider>) -> Self
The provider for the remote repository.
sourcepub fn get_provider(&self) -> &Option<SourceControlProvider>
pub fn get_provider(&self) -> &Option<SourceControlProvider>
The provider for the remote repository.
sourcepub fn repository(self, input: impl Into<String>) -> Self
pub fn repository(self, input: impl Into<String>) -> Self
The name of the remote repository that contains the job artifacts.
sourcepub fn set_repository(self, input: Option<String>) -> Self
pub fn set_repository(self, input: Option<String>) -> Self
The name of the remote repository that contains the job artifacts.
sourcepub fn get_repository(&self) -> &Option<String>
pub fn get_repository(&self) -> &Option<String>
The name of the remote repository that contains the job artifacts.
sourcepub fn owner(self, input: impl Into<String>) -> Self
pub fn owner(self, input: impl Into<String>) -> Self
The owner of the remote repository that contains the job artifacts.
sourcepub fn set_owner(self, input: Option<String>) -> Self
pub fn set_owner(self, input: Option<String>) -> Self
The owner of the remote repository that contains the job artifacts.
sourcepub fn get_owner(&self) -> &Option<String>
pub fn get_owner(&self) -> &Option<String>
The owner of the remote repository that contains the job artifacts.
sourcepub fn branch(self, input: impl Into<String>) -> Self
pub fn branch(self, input: impl Into<String>) -> Self
An optional branch in the remote repository.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
An optional branch in the remote repository.
sourcepub fn get_branch(&self) -> &Option<String>
pub fn get_branch(&self) -> &Option<String>
An optional branch in the remote repository.
sourcepub fn folder(self, input: impl Into<String>) -> Self
pub fn folder(self, input: impl Into<String>) -> Self
An optional folder in the remote repository.
sourcepub fn set_folder(self, input: Option<String>) -> Self
pub fn set_folder(self, input: Option<String>) -> Self
An optional folder in the remote repository.
sourcepub fn get_folder(&self) -> &Option<String>
pub fn get_folder(&self) -> &Option<String>
An optional folder in the remote repository.
sourcepub fn last_commit_id(self, input: impl Into<String>) -> Self
pub fn last_commit_id(self, input: impl Into<String>) -> Self
The last commit ID for a commit in the remote repository.
sourcepub fn set_last_commit_id(self, input: Option<String>) -> Self
pub fn set_last_commit_id(self, input: Option<String>) -> Self
The last commit ID for a commit in the remote repository.
sourcepub fn get_last_commit_id(&self) -> &Option<String>
pub fn get_last_commit_id(&self) -> &Option<String>
The last commit ID for a commit in the remote repository.
sourcepub fn auth_strategy(self, input: SourceControlAuthStrategy) -> Self
pub fn auth_strategy(self, input: SourceControlAuthStrategy) -> Self
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
sourcepub fn set_auth_strategy(self, input: Option<SourceControlAuthStrategy>) -> Self
pub fn set_auth_strategy(self, input: Option<SourceControlAuthStrategy>) -> Self
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
sourcepub fn get_auth_strategy(&self) -> &Option<SourceControlAuthStrategy>
pub fn get_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, input: impl Into<String>) -> Self
pub fn auth_token(self, input: impl Into<String>) -> Self
The value of an authorization token.
sourcepub fn set_auth_token(self, input: Option<String>) -> Self
pub fn set_auth_token(self, input: Option<String>) -> Self
The value of an authorization token.
sourcepub fn get_auth_token(&self) -> &Option<String>
pub fn get_auth_token(&self) -> &Option<String>
The value of an authorization token.
sourcepub fn build(self) -> SourceControlDetails
pub fn build(self) -> SourceControlDetails
Consumes the builder and constructs a SourceControlDetails.
Trait Implementations§
source§impl Clone for SourceControlDetailsBuilder
impl Clone for SourceControlDetailsBuilder
source§fn clone(&self) -> SourceControlDetailsBuilder
fn clone(&self) -> SourceControlDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SourceControlDetailsBuilder
impl Debug for SourceControlDetailsBuilder
source§impl Default for SourceControlDetailsBuilder
impl Default for SourceControlDetailsBuilder
source§fn default() -> SourceControlDetailsBuilder
fn default() -> SourceControlDetailsBuilder
source§impl PartialEq for SourceControlDetailsBuilder
impl PartialEq for SourceControlDetailsBuilder
source§fn eq(&self, other: &SourceControlDetailsBuilder) -> bool
fn eq(&self, other: &SourceControlDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.