Struct aws_sdk_codebuild::operation::update_project_visibility::builders::UpdateProjectVisibilityInputBuilder
source · #[non_exhaustive]pub struct UpdateProjectVisibilityInputBuilder { /* private fields */ }
Expand description
A builder for UpdateProjectVisibilityInput
.
Implementations§
source§impl UpdateProjectVisibilityInputBuilder
impl UpdateProjectVisibilityInputBuilder
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.
This field is required.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 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 resource_access_role(self, input: impl Into<String>) -> Self
pub fn resource_access_role(self, input: impl Into<String>) -> Self
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
sourcepub fn set_resource_access_role(self, input: Option<String>) -> Self
pub fn set_resource_access_role(self, input: Option<String>) -> Self
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
sourcepub fn get_resource_access_role(&self) -> &Option<String>
pub fn get_resource_access_role(&self) -> &Option<String>
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
sourcepub fn build(self) -> Result<UpdateProjectVisibilityInput, BuildError>
pub fn build(self) -> Result<UpdateProjectVisibilityInput, BuildError>
Consumes the builder and constructs a UpdateProjectVisibilityInput
.
source§impl UpdateProjectVisibilityInputBuilder
impl UpdateProjectVisibilityInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateProjectVisibilityOutput, SdkError<UpdateProjectVisibilityError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateProjectVisibilityOutput, SdkError<UpdateProjectVisibilityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateProjectVisibilityInputBuilder
impl Clone for UpdateProjectVisibilityInputBuilder
source§fn clone(&self) -> UpdateProjectVisibilityInputBuilder
fn clone(&self) -> UpdateProjectVisibilityInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateProjectVisibilityInputBuilder
impl Default for UpdateProjectVisibilityInputBuilder
source§fn default() -> UpdateProjectVisibilityInputBuilder
fn default() -> UpdateProjectVisibilityInputBuilder
source§impl PartialEq for UpdateProjectVisibilityInputBuilder
impl PartialEq for UpdateProjectVisibilityInputBuilder
source§fn eq(&self, other: &UpdateProjectVisibilityInputBuilder) -> bool
fn eq(&self, other: &UpdateProjectVisibilityInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateProjectVisibilityInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateProjectVisibilityInputBuilder
impl RefUnwindSafe for UpdateProjectVisibilityInputBuilder
impl Send for UpdateProjectVisibilityInputBuilder
impl Sync for UpdateProjectVisibilityInputBuilder
impl Unpin for UpdateProjectVisibilityInputBuilder
impl UnwindSafe for UpdateProjectVisibilityInputBuilder
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