#[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<LaunchPermissionModificationsBuilder> for LaunchPermissionModificationsBuilder
impl PartialEq<LaunchPermissionModificationsBuilder> 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 ==
.