Struct aws_sdk_ec2::model::create_volume_permission::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateVolumePermission
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn group(self, input: PermissionGroup) -> Self
pub fn group(self, input: PermissionGroup) -> Self
The group to be added or removed. The possible value is all
.
sourcepub fn set_group(self, input: Option<PermissionGroup>) -> Self
pub fn set_group(self, input: Option<PermissionGroup>) -> Self
The group to be added or removed. The possible value is all
.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account to be added or removed.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account to be added or removed.
sourcepub fn build(self) -> CreateVolumePermission
pub fn build(self) -> CreateVolumePermission
Consumes the builder and constructs a CreateVolumePermission
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more