#[non_exhaustive]pub struct ActionTypePermissionsBuilder { /* private fields */ }
Expand description
A builder for ActionTypePermissions
.
Implementations§
source§impl ActionTypePermissionsBuilder
impl ActionTypePermissionsBuilder
sourcepub fn allowed_accounts(self, input: impl Into<String>) -> Self
pub fn allowed_accounts(self, input: impl Into<String>) -> Self
Appends an item to allowed_accounts
.
To override the contents of this collection use set_allowed_accounts
.
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
sourcepub fn set_allowed_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_accounts(self, input: Option<Vec<String>>) -> Self
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
sourcepub fn get_allowed_accounts(&self) -> &Option<Vec<String>>
pub fn get_allowed_accounts(&self) -> &Option<Vec<String>>
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
sourcepub fn build(self) -> Result<ActionTypePermissions, BuildError>
pub fn build(self) -> Result<ActionTypePermissions, BuildError>
Consumes the builder and constructs a ActionTypePermissions
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ActionTypePermissionsBuilder
impl Clone for ActionTypePermissionsBuilder
source§fn clone(&self) -> ActionTypePermissionsBuilder
fn clone(&self) -> ActionTypePermissionsBuilder
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 Debug for ActionTypePermissionsBuilder
impl Debug for ActionTypePermissionsBuilder
source§impl Default for ActionTypePermissionsBuilder
impl Default for ActionTypePermissionsBuilder
source§fn default() -> ActionTypePermissionsBuilder
fn default() -> ActionTypePermissionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ActionTypePermissionsBuilder
impl PartialEq for ActionTypePermissionsBuilder
source§fn eq(&self, other: &ActionTypePermissionsBuilder) -> bool
fn eq(&self, other: &ActionTypePermissionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActionTypePermissionsBuilder
Auto Trait Implementations§
impl Freeze for ActionTypePermissionsBuilder
impl RefUnwindSafe for ActionTypePermissionsBuilder
impl Send for ActionTypePermissionsBuilder
impl Sync for ActionTypePermissionsBuilder
impl Unpin for ActionTypePermissionsBuilder
impl UnwindSafe for ActionTypePermissionsBuilder
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>
Creates a shared type from an unshared type.