Struct aws_sdk_codebuild::types::builders::BuildStatusConfigBuilder
source · #[non_exhaustive]pub struct BuildStatusConfigBuilder { /* private fields */ }
Expand description
A builder for BuildStatusConfig
.
Implementations§
source§impl BuildStatusConfigBuilder
impl BuildStatusConfigBuilder
sourcepub fn context(self, input: impl Into<String>) -> Self
pub fn context(self, input: impl Into<String>) -> Self
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
name
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
context
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourcepub fn set_context(self, input: Option<String>) -> Self
pub fn set_context(self, input: Option<String>) -> Self
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
name
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
context
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourcepub fn get_context(&self) -> &Option<String>
pub fn get_context(&self) -> &Option<String>
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
name
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
context
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourcepub fn target_url(self, input: impl Into<String>) -> Self
pub fn target_url(self, input: impl Into<String>) -> Self
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
url
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourcepub fn set_target_url(self, input: Option<String>) -> Self
pub fn set_target_url(self, input: Option<String>) -> Self
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
url
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourcepub fn get_target_url(&self) -> &Option<String>
pub fn get_target_url(&self) -> &Option<String>
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
url
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourcepub fn build(self) -> BuildStatusConfig
pub fn build(self) -> BuildStatusConfig
Consumes the builder and constructs a BuildStatusConfig
.
Trait Implementations§
source§impl Clone for BuildStatusConfigBuilder
impl Clone for BuildStatusConfigBuilder
source§fn clone(&self) -> BuildStatusConfigBuilder
fn clone(&self) -> BuildStatusConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuildStatusConfigBuilder
impl Debug for BuildStatusConfigBuilder
source§impl Default for BuildStatusConfigBuilder
impl Default for BuildStatusConfigBuilder
source§fn default() -> BuildStatusConfigBuilder
fn default() -> BuildStatusConfigBuilder
source§impl PartialEq for BuildStatusConfigBuilder
impl PartialEq for BuildStatusConfigBuilder
source§fn eq(&self, other: &BuildStatusConfigBuilder) -> bool
fn eq(&self, other: &BuildStatusConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BuildStatusConfigBuilder
Auto Trait Implementations§
impl Freeze for BuildStatusConfigBuilder
impl RefUnwindSafe for BuildStatusConfigBuilder
impl Send for BuildStatusConfigBuilder
impl Sync for BuildStatusConfigBuilder
impl Unpin for BuildStatusConfigBuilder
impl UnwindSafe for BuildStatusConfigBuilder
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
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>
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>
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 more