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 ==.