Struct aws_sdk_codebuild::types::builders::PhaseContextBuilder
source · #[non_exhaustive]pub struct PhaseContextBuilder { /* private fields */ }
Expand description
A builder for PhaseContext
.
Implementations§
source§impl PhaseContextBuilder
impl PhaseContextBuilder
sourcepub fn status_code(self, input: impl Into<String>) -> Self
pub fn status_code(self, input: impl Into<String>) -> Self
The status code for the context of the build phase.
sourcepub fn set_status_code(self, input: Option<String>) -> Self
pub fn set_status_code(self, input: Option<String>) -> Self
The status code for the context of the build phase.
sourcepub fn get_status_code(&self) -> &Option<String>
pub fn get_status_code(&self) -> &Option<String>
The status code for the context of the build phase.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
An explanation of the build phase's context. This might include a command ID and an exit code.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
An explanation of the build phase's context. This might include a command ID and an exit code.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
An explanation of the build phase's context. This might include a command ID and an exit code.
sourcepub fn build(self) -> PhaseContext
pub fn build(self) -> PhaseContext
Consumes the builder and constructs a PhaseContext
.
Trait Implementations§
source§impl Clone for PhaseContextBuilder
impl Clone for PhaseContextBuilder
source§fn clone(&self) -> PhaseContextBuilder
fn clone(&self) -> PhaseContextBuilder
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 Debug for PhaseContextBuilder
impl Debug for PhaseContextBuilder
source§impl Default for PhaseContextBuilder
impl Default for PhaseContextBuilder
source§fn default() -> PhaseContextBuilder
fn default() -> PhaseContextBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PhaseContextBuilder
impl PartialEq for PhaseContextBuilder
impl StructuralPartialEq for PhaseContextBuilder
Auto Trait Implementations§
impl Freeze for PhaseContextBuilder
impl RefUnwindSafe for PhaseContextBuilder
impl Send for PhaseContextBuilder
impl Sync for PhaseContextBuilder
impl Unpin for PhaseContextBuilder
impl UnwindSafe for PhaseContextBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.