Struct aws_sdk_codecommit::operation::batch_disassociate_approval_rule_template_from_repositories::builders::BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
source · #[non_exhaustive]pub struct BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder { /* private fields */ }
Expand description
A builder for BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
.
Implementations§
source§impl BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
sourcepub fn approval_rule_template_name(self, input: impl Into<String>) -> Self
pub fn approval_rule_template_name(self, input: impl Into<String>) -> Self
The name of the template that you want to disassociate from one or more repositories.
This field is required.sourcepub fn set_approval_rule_template_name(self, input: Option<String>) -> Self
pub fn set_approval_rule_template_name(self, input: Option<String>) -> Self
The name of the template that you want to disassociate from one or more repositories.
sourcepub fn get_approval_rule_template_name(&self) -> &Option<String>
pub fn get_approval_rule_template_name(&self) -> &Option<String>
The name of the template that you want to disassociate from one or more repositories.
sourcepub fn repository_names(self, input: impl Into<String>) -> Self
pub fn repository_names(self, input: impl Into<String>) -> Self
Appends an item to repository_names
.
To override the contents of this collection use set_repository_names
.
The repository names that you want to disassociate from the approval rule template.
The length constraint limit is for each string in the array. The array itself can be empty.
sourcepub fn set_repository_names(self, input: Option<Vec<String>>) -> Self
pub fn set_repository_names(self, input: Option<Vec<String>>) -> Self
The repository names that you want to disassociate from the approval rule template.
The length constraint limit is for each string in the array. The array itself can be empty.
sourcepub fn get_repository_names(&self) -> &Option<Vec<String>>
pub fn get_repository_names(&self) -> &Option<Vec<String>>
The repository names that you want to disassociate from the approval rule template.
The length constraint limit is for each string in the array. The array itself can be empty.
sourcepub fn build(
self,
) -> Result<BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, BuildError>
pub fn build( self, ) -> Result<BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, BuildError>
Consumes the builder and constructs a BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
.
source§impl BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, SdkError<BatchDisassociateApprovalRuleTemplateFromRepositoriesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, SdkError<BatchDisassociateApprovalRuleTemplateFromRepositoriesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl Clone for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
source§fn clone(
&self,
) -> BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
fn clone( &self, ) -> BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl Default for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
source§fn default() -> BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
fn default() -> BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
source§impl PartialEq for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl PartialEq for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
source§fn eq(
&self,
other: &BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder,
) -> bool
fn eq( &self, other: &BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder, ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
Auto Trait Implementations§
impl Freeze for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl RefUnwindSafe for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl Send for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl Sync for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl Unpin for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
impl UnwindSafe for BatchDisassociateApprovalRuleTemplateFromRepositoriesInputBuilder
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