#[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 AWS 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 AWS 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 ==
.