Struct aws_sdk_codecommit::types::builders::PullRequestSourceReferenceUpdatedEventMetadataBuilder
source · #[non_exhaustive]pub struct PullRequestSourceReferenceUpdatedEventMetadataBuilder { /* private fields */ }Expand description
A builder for PullRequestSourceReferenceUpdatedEventMetadata.
Implementations§
source§impl PullRequestSourceReferenceUpdatedEventMetadataBuilder
impl PullRequestSourceReferenceUpdatedEventMetadataBuilder
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository where the pull request was updated.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository where the pull request was updated.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository where the pull request was updated.
sourcepub fn before_commit_id(self, input: impl Into<String>) -> Self
pub fn before_commit_id(self, input: impl Into<String>) -> Self
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
sourcepub fn set_before_commit_id(self, input: Option<String>) -> Self
pub fn set_before_commit_id(self, input: Option<String>) -> Self
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
sourcepub fn get_before_commit_id(&self) -> &Option<String>
pub fn get_before_commit_id(&self) -> &Option<String>
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
sourcepub fn after_commit_id(self, input: impl Into<String>) -> Self
pub fn after_commit_id(self, input: impl Into<String>) -> Self
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
sourcepub fn set_after_commit_id(self, input: Option<String>) -> Self
pub fn set_after_commit_id(self, input: Option<String>) -> Self
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
sourcepub fn get_after_commit_id(&self) -> &Option<String>
pub fn get_after_commit_id(&self) -> &Option<String>
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
sourcepub fn merge_base(self, input: impl Into<String>) -> Self
pub fn merge_base(self, input: impl Into<String>) -> Self
The commit ID of the most recent commit that the source branch and the destination branch have in common.
sourcepub fn set_merge_base(self, input: Option<String>) -> Self
pub fn set_merge_base(self, input: Option<String>) -> Self
The commit ID of the most recent commit that the source branch and the destination branch have in common.
sourcepub fn get_merge_base(&self) -> &Option<String>
pub fn get_merge_base(&self) -> &Option<String>
The commit ID of the most recent commit that the source branch and the destination branch have in common.
sourcepub fn build(self) -> PullRequestSourceReferenceUpdatedEventMetadata
pub fn build(self) -> PullRequestSourceReferenceUpdatedEventMetadata
Consumes the builder and constructs a PullRequestSourceReferenceUpdatedEventMetadata.
Trait Implementations§
source§impl Clone for PullRequestSourceReferenceUpdatedEventMetadataBuilder
impl Clone for PullRequestSourceReferenceUpdatedEventMetadataBuilder
source§fn clone(&self) -> PullRequestSourceReferenceUpdatedEventMetadataBuilder
fn clone(&self) -> PullRequestSourceReferenceUpdatedEventMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PullRequestSourceReferenceUpdatedEventMetadataBuilder
impl Default for PullRequestSourceReferenceUpdatedEventMetadataBuilder
source§fn default() -> PullRequestSourceReferenceUpdatedEventMetadataBuilder
fn default() -> PullRequestSourceReferenceUpdatedEventMetadataBuilder
source§impl PartialEq for PullRequestSourceReferenceUpdatedEventMetadataBuilder
impl PartialEq for PullRequestSourceReferenceUpdatedEventMetadataBuilder
source§fn eq(
&self,
other: &PullRequestSourceReferenceUpdatedEventMetadataBuilder
) -> bool
fn eq( &self, other: &PullRequestSourceReferenceUpdatedEventMetadataBuilder ) -> bool
self and other values to be equal, and is used
by ==.