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
source§fn eq(&self, other: &PhaseContextBuilder) -> bool
fn eq(&self, other: &PhaseContextBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PhaseContextBuilder
Auto Trait Implementations§
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> 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>
Creates a shared type from an unshared type.