Struct aws_sdk_codebuild::types::builders::ProjectBadgeBuilder
source · #[non_exhaustive]pub struct ProjectBadgeBuilder { /* private fields */ }
Expand description
A builder for ProjectBadge
.
Implementations§
source§impl ProjectBadgeBuilder
impl ProjectBadgeBuilder
sourcepub fn badge_enabled(self, input: bool) -> Self
pub fn badge_enabled(self, input: bool) -> Self
Set this to true to generate a publicly accessible URL for your project's build badge.
sourcepub fn set_badge_enabled(self, input: Option<bool>) -> Self
pub fn set_badge_enabled(self, input: Option<bool>) -> Self
Set this to true to generate a publicly accessible URL for your project's build badge.
sourcepub fn get_badge_enabled(&self) -> &Option<bool>
pub fn get_badge_enabled(&self) -> &Option<bool>
Set this to true to generate a publicly accessible URL for your project's build badge.
sourcepub fn badge_request_url(self, input: impl Into<String>) -> Self
pub fn badge_request_url(self, input: impl Into<String>) -> Self
The publicly-accessible URL through which you can access the build badge for your project.
sourcepub fn set_badge_request_url(self, input: Option<String>) -> Self
pub fn set_badge_request_url(self, input: Option<String>) -> Self
The publicly-accessible URL through which you can access the build badge for your project.
sourcepub fn get_badge_request_url(&self) -> &Option<String>
pub fn get_badge_request_url(&self) -> &Option<String>
The publicly-accessible URL through which you can access the build badge for your project.
sourcepub fn build(self) -> ProjectBadge
pub fn build(self) -> ProjectBadge
Consumes the builder and constructs a ProjectBadge
.
Trait Implementations§
source§impl Clone for ProjectBadgeBuilder
impl Clone for ProjectBadgeBuilder
source§fn clone(&self) -> ProjectBadgeBuilder
fn clone(&self) -> ProjectBadgeBuilder
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 ProjectBadgeBuilder
impl Debug for ProjectBadgeBuilder
source§impl Default for ProjectBadgeBuilder
impl Default for ProjectBadgeBuilder
source§fn default() -> ProjectBadgeBuilder
fn default() -> ProjectBadgeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ProjectBadgeBuilder
impl PartialEq for ProjectBadgeBuilder
source§fn eq(&self, other: &ProjectBadgeBuilder) -> bool
fn eq(&self, other: &ProjectBadgeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProjectBadgeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ProjectBadgeBuilder
impl Send for ProjectBadgeBuilder
impl Sync for ProjectBadgeBuilder
impl Unpin for ProjectBadgeBuilder
impl UnwindSafe for ProjectBadgeBuilder
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.