#[non_exhaustive]pub struct LaunchPermissionModificationsBuilder { /* private fields */ }
Expand description
A builder for LaunchPermissionModifications
.
Implementations§
source§impl LaunchPermissionModificationsBuilder
impl LaunchPermissionModificationsBuilder
sourcepub fn add(self, input: LaunchPermission) -> Self
pub fn add(self, input: LaunchPermission) -> Self
Appends an item to add
.
To override the contents of this collection use set_add
.
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
sourcepub fn set_add(self, input: Option<Vec<LaunchPermission>>) -> Self
pub fn set_add(self, input: Option<Vec<LaunchPermission>>) -> Self
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
sourcepub fn get_add(&self) -> &Option<Vec<LaunchPermission>>
pub fn get_add(&self) -> &Option<Vec<LaunchPermission>>
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
sourcepub fn remove(self, input: LaunchPermission) -> Self
pub fn remove(self, input: LaunchPermission) -> Self
Appends an item to remove
.
To override the contents of this collection use set_remove
.
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
sourcepub fn set_remove(self, input: Option<Vec<LaunchPermission>>) -> Self
pub fn set_remove(self, input: Option<Vec<LaunchPermission>>) -> Self
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
sourcepub fn get_remove(&self) -> &Option<Vec<LaunchPermission>>
pub fn get_remove(&self) -> &Option<Vec<LaunchPermission>>
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
sourcepub fn build(self) -> LaunchPermissionModifications
pub fn build(self) -> LaunchPermissionModifications
Consumes the builder and constructs a LaunchPermissionModifications
.
Trait Implementations§
source§impl Clone for LaunchPermissionModificationsBuilder
impl Clone for LaunchPermissionModificationsBuilder
source§fn clone(&self) -> LaunchPermissionModificationsBuilder
fn clone(&self) -> LaunchPermissionModificationsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LaunchPermissionModificationsBuilder
impl Default for LaunchPermissionModificationsBuilder
source§fn default() -> LaunchPermissionModificationsBuilder
fn default() -> LaunchPermissionModificationsBuilder
source§impl PartialEq for LaunchPermissionModificationsBuilder
impl PartialEq for LaunchPermissionModificationsBuilder
source§fn eq(&self, other: &LaunchPermissionModificationsBuilder) -> bool
fn eq(&self, other: &LaunchPermissionModificationsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchPermissionModificationsBuilder
Auto Trait Implementations§
impl Freeze for LaunchPermissionModificationsBuilder
impl RefUnwindSafe for LaunchPermissionModificationsBuilder
impl Send for LaunchPermissionModificationsBuilder
impl Sync for LaunchPermissionModificationsBuilder
impl Unpin for LaunchPermissionModificationsBuilder
impl UnwindSafe for LaunchPermissionModificationsBuilder
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