Struct aws_sdk_codecommit::operation::batch_get_commits::builders::BatchGetCommitsOutputBuilder
source · #[non_exhaustive]pub struct BatchGetCommitsOutputBuilder { /* private fields */ }
Expand description
A builder for BatchGetCommitsOutput
.
Implementations§
source§impl BatchGetCommitsOutputBuilder
impl BatchGetCommitsOutputBuilder
sourcepub fn commits(self, input: Commit) -> Self
pub fn commits(self, input: Commit) -> Self
Appends an item to commits
.
To override the contents of this collection use set_commits
.
An array of commit data type objects, each of which contains information about a specified commit.
sourcepub fn set_commits(self, input: Option<Vec<Commit>>) -> Self
pub fn set_commits(self, input: Option<Vec<Commit>>) -> Self
An array of commit data type objects, each of which contains information about a specified commit.
sourcepub fn get_commits(&self) -> &Option<Vec<Commit>>
pub fn get_commits(&self) -> &Option<Vec<Commit>>
An array of commit data type objects, each of which contains information about a specified commit.
sourcepub fn errors(self, input: BatchGetCommitsError) -> Self
pub fn errors(self, input: BatchGetCommitsError) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
sourcepub fn set_errors(self, input: Option<Vec<BatchGetCommitsError>>) -> Self
pub fn set_errors(self, input: Option<Vec<BatchGetCommitsError>>) -> Self
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
sourcepub fn get_errors(&self) -> &Option<Vec<BatchGetCommitsError>>
pub fn get_errors(&self) -> &Option<Vec<BatchGetCommitsError>>
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
sourcepub fn build(self) -> BatchGetCommitsOutput
pub fn build(self) -> BatchGetCommitsOutput
Consumes the builder and constructs a BatchGetCommitsOutput
.
Trait Implementations§
source§impl Clone for BatchGetCommitsOutputBuilder
impl Clone for BatchGetCommitsOutputBuilder
source§fn clone(&self) -> BatchGetCommitsOutputBuilder
fn clone(&self) -> BatchGetCommitsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchGetCommitsOutputBuilder
impl Debug for BatchGetCommitsOutputBuilder
source§impl Default for BatchGetCommitsOutputBuilder
impl Default for BatchGetCommitsOutputBuilder
source§fn default() -> BatchGetCommitsOutputBuilder
fn default() -> BatchGetCommitsOutputBuilder
source§impl PartialEq for BatchGetCommitsOutputBuilder
impl PartialEq for BatchGetCommitsOutputBuilder
source§fn eq(&self, other: &BatchGetCommitsOutputBuilder) -> bool
fn eq(&self, other: &BatchGetCommitsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.