#[non_exhaustive]pub struct CreateVolumePermissionModificationsBuilder { /* private fields */ }Expand description
A builder for CreateVolumePermissionModifications.
Implementations§
source§impl CreateVolumePermissionModificationsBuilder
impl CreateVolumePermissionModificationsBuilder
sourcepub fn add(self, input: CreateVolumePermission) -> Self
pub fn add(self, input: CreateVolumePermission) -> Self
Appends an item to add.
To override the contents of this collection use set_add.
Adds the specified Amazon Web Services account ID or group to the list.
sourcepub fn set_add(self, input: Option<Vec<CreateVolumePermission>>) -> Self
pub fn set_add(self, input: Option<Vec<CreateVolumePermission>>) -> Self
Adds the specified Amazon Web Services account ID or group to the list.
sourcepub fn remove(self, input: CreateVolumePermission) -> Self
pub fn remove(self, input: CreateVolumePermission) -> Self
Appends an item to remove.
To override the contents of this collection use set_remove.
Removes the specified Amazon Web Services account ID or group from the list.
sourcepub fn set_remove(self, input: Option<Vec<CreateVolumePermission>>) -> Self
pub fn set_remove(self, input: Option<Vec<CreateVolumePermission>>) -> Self
Removes the specified Amazon Web Services account ID or group from the list.
sourcepub fn build(self) -> CreateVolumePermissionModifications
pub fn build(self) -> CreateVolumePermissionModifications
Consumes the builder and constructs a CreateVolumePermissionModifications.
Trait Implementations§
source§impl Clone for CreateVolumePermissionModificationsBuilder
impl Clone for CreateVolumePermissionModificationsBuilder
source§fn clone(&self) -> CreateVolumePermissionModificationsBuilder
fn clone(&self) -> CreateVolumePermissionModificationsBuilder
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 Default for CreateVolumePermissionModificationsBuilder
impl Default for CreateVolumePermissionModificationsBuilder
source§fn default() -> CreateVolumePermissionModificationsBuilder
fn default() -> CreateVolumePermissionModificationsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateVolumePermissionModificationsBuilder> for CreateVolumePermissionModificationsBuilder
impl PartialEq<CreateVolumePermissionModificationsBuilder> for CreateVolumePermissionModificationsBuilder
source§fn eq(&self, other: &CreateVolumePermissionModificationsBuilder) -> bool
fn eq(&self, other: &CreateVolumePermissionModificationsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.