Struct aws_sdk_codedeploy::types::builders::GitHubLocationBuilder
source · #[non_exhaustive]pub struct GitHubLocationBuilder { /* private fields */ }
Expand description
A builder for GitHubLocation
.
Implementations§
source§impl GitHubLocationBuilder
impl GitHubLocationBuilder
sourcepub fn repository(self, input: impl Into<String>) -> Self
pub fn repository(self, input: impl Into<String>) -> Self
The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.
Specified as account/repository.
sourcepub fn set_repository(self, input: Option<String>) -> Self
pub fn set_repository(self, input: Option<String>) -> Self
The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.
Specified as account/repository.
sourcepub fn get_repository(&self) -> &Option<String>
pub fn get_repository(&self) -> &Option<String>
The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.
Specified as account/repository.
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
sourcepub fn build(self) -> GitHubLocation
pub fn build(self) -> GitHubLocation
Consumes the builder and constructs a GitHubLocation
.
Trait Implementations§
source§impl Clone for GitHubLocationBuilder
impl Clone for GitHubLocationBuilder
source§fn clone(&self) -> GitHubLocationBuilder
fn clone(&self) -> GitHubLocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GitHubLocationBuilder
impl Debug for GitHubLocationBuilder
source§impl Default for GitHubLocationBuilder
impl Default for GitHubLocationBuilder
source§fn default() -> GitHubLocationBuilder
fn default() -> GitHubLocationBuilder
source§impl PartialEq for GitHubLocationBuilder
impl PartialEq for GitHubLocationBuilder
source§fn eq(&self, other: &GitHubLocationBuilder) -> bool
fn eq(&self, other: &GitHubLocationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitHubLocationBuilder
Auto Trait Implementations§
impl Freeze for GitHubLocationBuilder
impl RefUnwindSafe for GitHubLocationBuilder
impl Send for GitHubLocationBuilder
impl Sync for GitHubLocationBuilder
impl Unpin for GitHubLocationBuilder
impl UnwindSafe for GitHubLocationBuilder
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