pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateProjectVisibilityInput
.
Implementations
sourceimpl Builder
impl Builder
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
.