Struct aws_sdk_ec2::model::launch_permission_modifications::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LaunchPermissionModifications
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> LaunchPermissionModifications
pub fn build(self) -> LaunchPermissionModifications
Consumes the builder and constructs a LaunchPermissionModifications
.