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.
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 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 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 build(self) -> Result<UpdateProjectVisibilityInput, BuildError>
pub fn build(self) -> Result<UpdateProjectVisibilityInput, BuildError>
Consumes the builder and constructs a UpdateProjectVisibilityInput
.
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<UpdateProjectVisibilityInputBuilder> for UpdateProjectVisibilityInputBuilder
impl PartialEq<UpdateProjectVisibilityInputBuilder> 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 ==
.