Struct aws_sdk_codecommit::operation::batch_get_commits::builders::BatchGetCommitsInputBuilder
source · #[non_exhaustive]pub struct BatchGetCommitsInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetCommitsInput
.
Implementations§
source§impl BatchGetCommitsInputBuilder
impl BatchGetCommitsInputBuilder
sourcepub fn commit_ids(self, input: impl Into<String>) -> Self
pub fn commit_ids(self, input: impl Into<String>) -> Self
Appends an item to commit_ids
.
To override the contents of this collection use set_commit_ids
.
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
sourcepub fn set_commit_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_commit_ids(self, input: Option<Vec<String>>) -> Self
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
sourcepub fn get_commit_ids(&self) -> &Option<Vec<String>>
pub fn get_commit_ids(&self) -> &Option<Vec<String>>
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
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 commits.
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 commits.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository that contains the commits.
sourcepub fn build(self) -> Result<BatchGetCommitsInput, BuildError>
pub fn build(self) -> Result<BatchGetCommitsInput, BuildError>
Consumes the builder and constructs a BatchGetCommitsInput
.
source§impl BatchGetCommitsInputBuilder
impl BatchGetCommitsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetCommitsOutput, SdkError<BatchGetCommitsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetCommitsOutput, SdkError<BatchGetCommitsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetCommitsInputBuilder
impl Clone for BatchGetCommitsInputBuilder
source§fn clone(&self) -> BatchGetCommitsInputBuilder
fn clone(&self) -> BatchGetCommitsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchGetCommitsInputBuilder
impl Debug for BatchGetCommitsInputBuilder
source§impl Default for BatchGetCommitsInputBuilder
impl Default for BatchGetCommitsInputBuilder
source§fn default() -> BatchGetCommitsInputBuilder
fn default() -> BatchGetCommitsInputBuilder
source§impl PartialEq for BatchGetCommitsInputBuilder
impl PartialEq for BatchGetCommitsInputBuilder
source§fn eq(&self, other: &BatchGetCommitsInputBuilder) -> bool
fn eq(&self, other: &BatchGetCommitsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.