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 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 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<PhaseContextBuilder> for PhaseContextBuilder
impl PartialEq<PhaseContextBuilder> 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 ==
.