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