pub struct Builder { /* private fields */ }Expand description
A builder for CreateVolumePermissionModifications.
Implementations§
source§impl Builder
impl Builder
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.