#[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) -> ActionTypePermissions
pub fn build(self) -> ActionTypePermissions
Consumes the builder and constructs a ActionTypePermissions
.
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<ActionTypePermissionsBuilder> for ActionTypePermissionsBuilder
impl PartialEq<ActionTypePermissionsBuilder> 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 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