Struct aws_sdk_glue::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobInputBuilder
source · #[non_exhaustive]pub struct UpdateSourceControlFromJobInputBuilder { /* private fields */ }Expand description
A builder for UpdateSourceControlFromJobInput.
Implementations§
source§impl UpdateSourceControlFromJobInputBuilder
impl UpdateSourceControlFromJobInputBuilder
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the Glue job to be synchronized to or from the remote repository.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the Glue job to be synchronized to or from the remote repository.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name of the Glue job to be synchronized to or from the remote repository.
sourcepub fn provider(self, input: SourceControlProvider) -> Self
pub fn provider(self, input: SourceControlProvider) -> Self
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
sourcepub fn set_provider(self, input: Option<SourceControlProvider>) -> Self
pub fn set_provider(self, input: Option<SourceControlProvider>) -> Self
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
sourcepub fn get_provider(&self) -> &Option<SourceControlProvider>
pub fn get_provider(&self) -> &Option<SourceControlProvider>
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName should include WorkspaceName. Use the format .
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName should include WorkspaceName. Use the format .
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName should include WorkspaceName. Use the format .
sourcepub fn repository_owner(self, input: impl Into<String>) -> Self
pub fn repository_owner(self, input: impl Into<String>) -> Self
The owner of the remote repository that contains the job artifacts.
sourcepub fn set_repository_owner(self, input: Option<String>) -> Self
pub fn set_repository_owner(self, input: Option<String>) -> Self
The owner of the remote repository that contains the job artifacts.
sourcepub fn get_repository_owner(&self) -> &Option<String>
pub fn get_repository_owner(&self) -> &Option<String>
The owner of the remote repository that contains the job artifacts.
sourcepub fn branch_name(self, input: impl Into<String>) -> Self
pub fn branch_name(self, input: impl Into<String>) -> Self
An optional branch in the remote repository.
sourcepub fn set_branch_name(self, input: Option<String>) -> Self
pub fn set_branch_name(self, input: Option<String>) -> Self
An optional branch in the remote repository.
sourcepub fn get_branch_name(&self) -> &Option<String>
pub fn get_branch_name(&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 commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
A commit ID for a commit in the remote repository.
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
A commit ID for a commit in the remote repository.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
A 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 the 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 the authorization token.
sourcepub fn get_auth_token(&self) -> &Option<String>
pub fn get_auth_token(&self) -> &Option<String>
The value of the authorization token.
sourcepub fn build(self) -> Result<UpdateSourceControlFromJobInput, BuildError>
pub fn build(self) -> Result<UpdateSourceControlFromJobInput, BuildError>
Consumes the builder and constructs a UpdateSourceControlFromJobInput.
source§impl UpdateSourceControlFromJobInputBuilder
impl UpdateSourceControlFromJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateSourceControlFromJobOutput, SdkError<UpdateSourceControlFromJobError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateSourceControlFromJobOutput, SdkError<UpdateSourceControlFromJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSourceControlFromJobInputBuilder
impl Clone for UpdateSourceControlFromJobInputBuilder
source§fn clone(&self) -> UpdateSourceControlFromJobInputBuilder
fn clone(&self) -> UpdateSourceControlFromJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateSourceControlFromJobInputBuilder
impl Default for UpdateSourceControlFromJobInputBuilder
source§fn default() -> UpdateSourceControlFromJobInputBuilder
fn default() -> UpdateSourceControlFromJobInputBuilder
source§impl PartialEq for UpdateSourceControlFromJobInputBuilder
impl PartialEq for UpdateSourceControlFromJobInputBuilder
source§fn eq(&self, other: &UpdateSourceControlFromJobInputBuilder) -> bool
fn eq(&self, other: &UpdateSourceControlFromJobInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateSourceControlFromJobInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSourceControlFromJobInputBuilder
impl RefUnwindSafe for UpdateSourceControlFromJobInputBuilder
impl Send for UpdateSourceControlFromJobInputBuilder
impl Sync for UpdateSourceControlFromJobInputBuilder
impl Unpin for UpdateSourceControlFromJobInputBuilder
impl UnwindSafe for UpdateSourceControlFromJobInputBuilder
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