Struct aws_sdk_codedeploy::model::git_hub_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GitHubLocation
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> GitHubLocation
pub fn build(self) -> GitHubLocation
Consumes the builder and constructs a GitHubLocation
.