Struct aws_sdk_codebuild::model::BuildStatusConfig
source · #[non_exhaustive]pub struct BuildStatusConfig { /* private fields */ }
Expand description
Contains information that defines how the CodeBuild build project reports the build status to the source provider.
Implementations§
source§impl BuildStatusConfig
impl BuildStatusConfig
sourcepub fn context(&self) -> Option<&str>
pub fn context(&self) -> Option<&str>
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) -> Option<&str>
pub fn target_url(&self) -> Option<&str>
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.
source§impl BuildStatusConfig
impl BuildStatusConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BuildStatusConfig
.
Trait Implementations§
source§impl Clone for BuildStatusConfig
impl Clone for BuildStatusConfig
source§fn clone(&self) -> BuildStatusConfig
fn clone(&self) -> BuildStatusConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuildStatusConfig
impl Debug for BuildStatusConfig
source§impl PartialEq<BuildStatusConfig> for BuildStatusConfig
impl PartialEq<BuildStatusConfig> for BuildStatusConfig
source§fn eq(&self, other: &BuildStatusConfig) -> bool
fn eq(&self, other: &BuildStatusConfig) -> bool
self
and other
values to be equal, and is used
by ==
.