Struct aws_sdk_codecommit::types::builders::TargetBuilder
source · #[non_exhaustive]pub struct TargetBuilder { /* private fields */ }
Expand description
A builder for Target
.
Implementations§
source§impl TargetBuilder
impl TargetBuilder
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 that contains the pull request.
This field is required.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 that contains the pull request.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository that contains the pull request.
sourcepub fn source_reference(self, input: impl Into<String>) -> Self
pub fn source_reference(self, input: impl Into<String>) -> Self
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
This field is required.sourcepub fn set_source_reference(self, input: Option<String>) -> Self
pub fn set_source_reference(self, input: Option<String>) -> Self
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
sourcepub fn get_source_reference(&self) -> &Option<String>
pub fn get_source_reference(&self) -> &Option<String>
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
sourcepub fn destination_reference(self, input: impl Into<String>) -> Self
pub fn destination_reference(self, input: impl Into<String>) -> Self
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
sourcepub fn set_destination_reference(self, input: Option<String>) -> Self
pub fn set_destination_reference(self, input: Option<String>) -> Self
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
sourcepub fn get_destination_reference(&self) -> &Option<String>
pub fn get_destination_reference(&self) -> &Option<String>
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
Trait Implementations§
source§impl Clone for TargetBuilder
impl Clone for TargetBuilder
source§fn clone(&self) -> TargetBuilder
fn clone(&self) -> TargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetBuilder
impl Debug for TargetBuilder
source§impl Default for TargetBuilder
impl Default for TargetBuilder
source§fn default() -> TargetBuilder
fn default() -> TargetBuilder
source§impl PartialEq for TargetBuilder
impl PartialEq for TargetBuilder
source§fn eq(&self, other: &TargetBuilder) -> bool
fn eq(&self, other: &TargetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.