Struct aws_sdk_codecommit::operation::get_repository_triggers::builders::GetRepositoryTriggersOutputBuilder
source · #[non_exhaustive]pub struct GetRepositoryTriggersOutputBuilder { /* private fields */ }Expand description
A builder for GetRepositoryTriggersOutput.
Implementations§
source§impl GetRepositoryTriggersOutputBuilder
impl GetRepositoryTriggersOutputBuilder
sourcepub fn configuration_id(self, input: impl Into<String>) -> Self
pub fn configuration_id(self, input: impl Into<String>) -> Self
The system-generated unique ID for the trigger.
sourcepub fn set_configuration_id(self, input: Option<String>) -> Self
pub fn set_configuration_id(self, input: Option<String>) -> Self
The system-generated unique ID for the trigger.
sourcepub fn get_configuration_id(&self) -> &Option<String>
pub fn get_configuration_id(&self) -> &Option<String>
The system-generated unique ID for the trigger.
sourcepub fn triggers(self, input: RepositoryTrigger) -> Self
pub fn triggers(self, input: RepositoryTrigger) -> Self
Appends an item to triggers.
To override the contents of this collection use set_triggers.
The JSON block of configuration information for each trigger.
sourcepub fn set_triggers(self, input: Option<Vec<RepositoryTrigger>>) -> Self
pub fn set_triggers(self, input: Option<Vec<RepositoryTrigger>>) -> Self
The JSON block of configuration information for each trigger.
sourcepub fn get_triggers(&self) -> &Option<Vec<RepositoryTrigger>>
pub fn get_triggers(&self) -> &Option<Vec<RepositoryTrigger>>
The JSON block of configuration information for each trigger.
sourcepub fn build(self) -> GetRepositoryTriggersOutput
pub fn build(self) -> GetRepositoryTriggersOutput
Consumes the builder and constructs a GetRepositoryTriggersOutput.
Trait Implementations§
source§impl Clone for GetRepositoryTriggersOutputBuilder
impl Clone for GetRepositoryTriggersOutputBuilder
source§fn clone(&self) -> GetRepositoryTriggersOutputBuilder
fn clone(&self) -> GetRepositoryTriggersOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetRepositoryTriggersOutputBuilder
impl Default for GetRepositoryTriggersOutputBuilder
source§fn default() -> GetRepositoryTriggersOutputBuilder
fn default() -> GetRepositoryTriggersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetRepositoryTriggersOutputBuilder
impl PartialEq for GetRepositoryTriggersOutputBuilder
source§fn eq(&self, other: &GetRepositoryTriggersOutputBuilder) -> bool
fn eq(&self, other: &GetRepositoryTriggersOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetRepositoryTriggersOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRepositoryTriggersOutputBuilder
impl RefUnwindSafe for GetRepositoryTriggersOutputBuilder
impl Send for GetRepositoryTriggersOutputBuilder
impl Sync for GetRepositoryTriggersOutputBuilder
impl Unpin for GetRepositoryTriggersOutputBuilder
impl UnwindSafe for GetRepositoryTriggersOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.