Struct aws_sdk_codebuild::operation::update_project_visibility::builders::UpdateProjectVisibilityOutputBuilder
source · #[non_exhaustive]pub struct UpdateProjectVisibilityOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateProjectVisibilityOutput
.
Implementations§
source§impl UpdateProjectVisibilityOutputBuilder
impl UpdateProjectVisibilityOutputBuilder
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the build project.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the build project.
sourcepub fn get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the build project.
sourcepub fn public_project_alias(self, input: impl Into<String>) -> Self
pub fn public_project_alias(self, input: impl Into<String>) -> Self
Contains the project identifier used with the public build APIs.
sourcepub fn set_public_project_alias(self, input: Option<String>) -> Self
pub fn set_public_project_alias(self, input: Option<String>) -> Self
Contains the project identifier used with the public build APIs.
sourcepub fn get_public_project_alias(&self) -> &Option<String>
pub fn get_public_project_alias(&self) -> &Option<String>
Contains the project identifier used with the public build APIs.
sourcepub fn project_visibility(self, input: ProjectVisibilityType) -> Self
pub fn project_visibility(self, input: ProjectVisibilityType) -> Self
Specifies the visibility of the project's builds. Possible values are:
- PUBLIC_READ
-
The project builds are visible to the public.
- PRIVATE
-
The project builds are not visible to the public.
sourcepub fn set_project_visibility(
self,
input: Option<ProjectVisibilityType>,
) -> Self
pub fn set_project_visibility( self, input: Option<ProjectVisibilityType>, ) -> Self
Specifies the visibility of the project's builds. Possible values are:
- PUBLIC_READ
-
The project builds are visible to the public.
- PRIVATE
-
The project builds are not visible to the public.
sourcepub fn get_project_visibility(&self) -> &Option<ProjectVisibilityType>
pub fn get_project_visibility(&self) -> &Option<ProjectVisibilityType>
Specifies the visibility of the project's builds. Possible values are:
- PUBLIC_READ
-
The project builds are visible to the public.
- PRIVATE
-
The project builds are not visible to the public.
sourcepub fn build(self) -> UpdateProjectVisibilityOutput
pub fn build(self) -> UpdateProjectVisibilityOutput
Consumes the builder and constructs a UpdateProjectVisibilityOutput
.
Trait Implementations§
source§impl Clone for UpdateProjectVisibilityOutputBuilder
impl Clone for UpdateProjectVisibilityOutputBuilder
source§fn clone(&self) -> UpdateProjectVisibilityOutputBuilder
fn clone(&self) -> UpdateProjectVisibilityOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateProjectVisibilityOutputBuilder
impl Default for UpdateProjectVisibilityOutputBuilder
source§fn default() -> UpdateProjectVisibilityOutputBuilder
fn default() -> UpdateProjectVisibilityOutputBuilder
source§impl PartialEq for UpdateProjectVisibilityOutputBuilder
impl PartialEq for UpdateProjectVisibilityOutputBuilder
source§fn eq(&self, other: &UpdateProjectVisibilityOutputBuilder) -> bool
fn eq(&self, other: &UpdateProjectVisibilityOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateProjectVisibilityOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateProjectVisibilityOutputBuilder
impl RefUnwindSafe for UpdateProjectVisibilityOutputBuilder
impl Send for UpdateProjectVisibilityOutputBuilder
impl Sync for UpdateProjectVisibilityOutputBuilder
impl Unpin for UpdateProjectVisibilityOutputBuilder
impl UnwindSafe for UpdateProjectVisibilityOutputBuilder
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