Struct aws_sdk_ec2::model::create_volume_permission::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateVolumePermission
.
Implementations§
source§impl 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
.