#[non_exhaustive]pub struct LaunchPermissionConfigurationBuilder { /* private fields */ }
Expand description
A builder for LaunchPermissionConfiguration
.
Implementations§
source§impl LaunchPermissionConfigurationBuilder
impl LaunchPermissionConfigurationBuilder
sourcepub fn user_ids(self, input: impl Into<String>) -> Self
pub fn user_ids(self, input: impl Into<String>) -> Self
Appends an item to user_ids
.
To override the contents of this collection use set_user_ids
.
The Amazon Web Services account ID.
sourcepub fn set_user_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_user_ids(self, input: Option<Vec<String>>) -> Self
The Amazon Web Services account ID.
sourcepub fn get_user_ids(&self) -> &Option<Vec<String>>
pub fn get_user_ids(&self) -> &Option<Vec<String>>
The Amazon Web Services account ID.
sourcepub fn user_groups(self, input: impl Into<String>) -> Self
pub fn user_groups(self, input: impl Into<String>) -> Self
Appends an item to user_groups
.
To override the contents of this collection use set_user_groups
.
The name of the group.
sourcepub fn set_user_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_user_groups(self, input: Option<Vec<String>>) -> Self
The name of the group.
sourcepub fn get_user_groups(&self) -> &Option<Vec<String>>
pub fn get_user_groups(&self) -> &Option<Vec<String>>
The name of the group.
sourcepub fn organization_arns(self, input: impl Into<String>) -> Self
pub fn organization_arns(self, input: impl Into<String>) -> Self
Appends an item to organization_arns
.
To override the contents of this collection use set_organization_arns
.
The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
sourcepub fn set_organization_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_organization_arns(self, input: Option<Vec<String>>) -> Self
The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
sourcepub fn get_organization_arns(&self) -> &Option<Vec<String>>
pub fn get_organization_arns(&self) -> &Option<Vec<String>>
The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
sourcepub fn organizational_unit_arns(self, input: impl Into<String>) -> Self
pub fn organizational_unit_arns(self, input: impl Into<String>) -> Self
Appends an item to organizational_unit_arns
.
To override the contents of this collection use set_organizational_unit_arns
.
The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
sourcepub fn set_organizational_unit_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_organizational_unit_arns(self, input: Option<Vec<String>>) -> Self
The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
sourcepub fn get_organizational_unit_arns(&self) -> &Option<Vec<String>>
pub fn get_organizational_unit_arns(&self) -> &Option<Vec<String>>
The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
sourcepub fn build(self) -> LaunchPermissionConfiguration
pub fn build(self) -> LaunchPermissionConfiguration
Consumes the builder and constructs a LaunchPermissionConfiguration
.
Trait Implementations§
source§impl Clone for LaunchPermissionConfigurationBuilder
impl Clone for LaunchPermissionConfigurationBuilder
source§fn clone(&self) -> LaunchPermissionConfigurationBuilder
fn clone(&self) -> LaunchPermissionConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LaunchPermissionConfigurationBuilder
impl Default for LaunchPermissionConfigurationBuilder
source§fn default() -> LaunchPermissionConfigurationBuilder
fn default() -> LaunchPermissionConfigurationBuilder
source§impl PartialEq for LaunchPermissionConfigurationBuilder
impl PartialEq for LaunchPermissionConfigurationBuilder
source§fn eq(&self, other: &LaunchPermissionConfigurationBuilder) -> bool
fn eq(&self, other: &LaunchPermissionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchPermissionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for LaunchPermissionConfigurationBuilder
impl RefUnwindSafe for LaunchPermissionConfigurationBuilder
impl Send for LaunchPermissionConfigurationBuilder
impl Sync for LaunchPermissionConfigurationBuilder
impl Unpin for LaunchPermissionConfigurationBuilder
impl UnwindSafe for LaunchPermissionConfigurationBuilder
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