Struct aws_sdk_codecatalyst::operation::create_source_repository_branch::builders::CreateSourceRepositoryBranchOutputBuilder
source · #[non_exhaustive]pub struct CreateSourceRepositoryBranchOutputBuilder { /* private fields */ }
Expand description
A builder for CreateSourceRepositoryBranchOutput
.
Implementations§
source§impl CreateSourceRepositoryBranchOutputBuilder
impl CreateSourceRepositoryBranchOutputBuilder
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn head_commit_id(self, input: impl Into<String>) -> Self
pub fn head_commit_id(self, input: impl Into<String>) -> Self
The commit ID of the tip of the newly created branch.
sourcepub fn set_head_commit_id(self, input: Option<String>) -> Self
pub fn set_head_commit_id(self, input: Option<String>) -> Self
The commit ID of the tip of the newly created branch.
sourcepub fn get_head_commit_id(&self) -> &Option<String>
pub fn get_head_commit_id(&self) -> &Option<String>
The commit ID of the tip of the newly created branch.
sourcepub fn build(self) -> CreateSourceRepositoryBranchOutput
pub fn build(self) -> CreateSourceRepositoryBranchOutput
Consumes the builder and constructs a CreateSourceRepositoryBranchOutput
.
Trait Implementations§
source§impl Clone for CreateSourceRepositoryBranchOutputBuilder
impl Clone for CreateSourceRepositoryBranchOutputBuilder
source§fn clone(&self) -> CreateSourceRepositoryBranchOutputBuilder
fn clone(&self) -> CreateSourceRepositoryBranchOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateSourceRepositoryBranchOutputBuilder
impl Default for CreateSourceRepositoryBranchOutputBuilder
source§fn default() -> CreateSourceRepositoryBranchOutputBuilder
fn default() -> CreateSourceRepositoryBranchOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateSourceRepositoryBranchOutputBuilder
impl PartialEq for CreateSourceRepositoryBranchOutputBuilder
source§fn eq(&self, other: &CreateSourceRepositoryBranchOutputBuilder) -> bool
fn eq(&self, other: &CreateSourceRepositoryBranchOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSourceRepositoryBranchOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateSourceRepositoryBranchOutputBuilder
impl RefUnwindSafe for CreateSourceRepositoryBranchOutputBuilder
impl Send for CreateSourceRepositoryBranchOutputBuilder
impl Sync for CreateSourceRepositoryBranchOutputBuilder
impl Unpin for CreateSourceRepositoryBranchOutputBuilder
impl UnwindSafe for CreateSourceRepositoryBranchOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.