Struct aws_sdk_proton::operation::update_account_settings::builders::UpdateAccountSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdateAccountSettingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAccountSettingsInput
.
Implementations§
source§impl UpdateAccountSettingsInputBuilder
impl UpdateAccountSettingsInputBuilder
sourcepub fn pipeline_service_role_arn(self, input: impl Into<String>) -> Self
pub fn pipeline_service_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
sourcepub fn set_pipeline_service_role_arn(self, input: Option<String>) -> Self
pub fn set_pipeline_service_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
sourcepub fn get_pipeline_service_role_arn(&self) -> &Option<String>
pub fn get_pipeline_service_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
sourcepub fn pipeline_provisioning_repository(
self,
input: RepositoryBranchInput
) -> Self
pub fn pipeline_provisioning_repository( self, input: RepositoryBranchInput ) -> Self
A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository
.
To remove a previously configured repository, set deletePipelineProvisioningRepository
to true
, and don't set pipelineProvisioningRepository
.
sourcepub fn set_pipeline_provisioning_repository(
self,
input: Option<RepositoryBranchInput>
) -> Self
pub fn set_pipeline_provisioning_repository( self, input: Option<RepositoryBranchInput> ) -> Self
A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository
.
To remove a previously configured repository, set deletePipelineProvisioningRepository
to true
, and don't set pipelineProvisioningRepository
.
sourcepub fn get_pipeline_provisioning_repository(
&self
) -> &Option<RepositoryBranchInput>
pub fn get_pipeline_provisioning_repository( &self ) -> &Option<RepositoryBranchInput>
A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository
.
To remove a previously configured repository, set deletePipelineProvisioningRepository
to true
, and don't set pipelineProvisioningRepository
.
sourcepub fn delete_pipeline_provisioning_repository(self, input: bool) -> Self
pub fn delete_pipeline_provisioning_repository(self, input: bool) -> Self
Set to true
to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.
sourcepub fn set_delete_pipeline_provisioning_repository(
self,
input: Option<bool>
) -> Self
pub fn set_delete_pipeline_provisioning_repository( self, input: Option<bool> ) -> Self
Set to true
to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.
sourcepub fn get_delete_pipeline_provisioning_repository(&self) -> &Option<bool>
pub fn get_delete_pipeline_provisioning_repository(&self) -> &Option<bool>
Set to true
to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.
sourcepub fn pipeline_codebuild_role_arn(self, input: impl Into<String>) -> Self
pub fn pipeline_codebuild_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
sourcepub fn set_pipeline_codebuild_role_arn(self, input: Option<String>) -> Self
pub fn set_pipeline_codebuild_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
sourcepub fn get_pipeline_codebuild_role_arn(&self) -> &Option<String>
pub fn get_pipeline_codebuild_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
sourcepub fn build(self) -> Result<UpdateAccountSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateAccountSettingsInput, BuildError>
Consumes the builder and constructs a UpdateAccountSettingsInput
.
source§impl UpdateAccountSettingsInputBuilder
impl UpdateAccountSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAccountSettingsInputBuilder
impl Clone for UpdateAccountSettingsInputBuilder
source§fn clone(&self) -> UpdateAccountSettingsInputBuilder
fn clone(&self) -> UpdateAccountSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateAccountSettingsInputBuilder
impl Default for UpdateAccountSettingsInputBuilder
source§fn default() -> UpdateAccountSettingsInputBuilder
fn default() -> UpdateAccountSettingsInputBuilder
source§impl PartialEq for UpdateAccountSettingsInputBuilder
impl PartialEq for UpdateAccountSettingsInputBuilder
source§fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAccountSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAccountSettingsInputBuilder
impl RefUnwindSafe for UpdateAccountSettingsInputBuilder
impl Send for UpdateAccountSettingsInputBuilder
impl Sync for UpdateAccountSettingsInputBuilder
impl Unpin for UpdateAccountSettingsInputBuilder
impl UnwindSafe for UpdateAccountSettingsInputBuilder
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