Struct aws_sdk_ec2::types::builders::LaunchPermissionBuilder
source · #[non_exhaustive]pub struct LaunchPermissionBuilder { /* private fields */ }
Expand description
A builder for LaunchPermission
.
Implementations§
source§impl LaunchPermissionBuilder
impl LaunchPermissionBuilder
sourcepub fn group(self, input: PermissionGroup) -> Self
pub fn group(self, input: PermissionGroup) -> Self
The name of the group.
sourcepub fn set_group(self, input: Option<PermissionGroup>) -> Self
pub fn set_group(self, input: Option<PermissionGroup>) -> Self
The name of the group.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID.
Constraints: Up to 10 000 account IDs can be specified in a single request.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID.
Constraints: Up to 10 000 account IDs can be specified in a single request.
sourcepub fn organization_arn(self, input: impl Into<String>) -> Self
pub fn organization_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an organization.
sourcepub fn set_organization_arn(self, input: Option<String>) -> Self
pub fn set_organization_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an organization.
sourcepub fn organizational_unit_arn(self, input: impl Into<String>) -> Self
pub fn organizational_unit_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an organizational unit (OU).
sourcepub fn set_organizational_unit_arn(self, input: Option<String>) -> Self
pub fn set_organizational_unit_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an organizational unit (OU).
sourcepub fn build(self) -> LaunchPermission
pub fn build(self) -> LaunchPermission
Consumes the builder and constructs a LaunchPermission
.
Trait Implementations§
source§impl Clone for LaunchPermissionBuilder
impl Clone for LaunchPermissionBuilder
source§fn clone(&self) -> LaunchPermissionBuilder
fn clone(&self) -> LaunchPermissionBuilder
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 Debug for LaunchPermissionBuilder
impl Debug for LaunchPermissionBuilder
source§impl Default for LaunchPermissionBuilder
impl Default for LaunchPermissionBuilder
source§fn default() -> LaunchPermissionBuilder
fn default() -> LaunchPermissionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LaunchPermissionBuilder> for LaunchPermissionBuilder
impl PartialEq<LaunchPermissionBuilder> for LaunchPermissionBuilder
source§fn eq(&self, other: &LaunchPermissionBuilder) -> bool
fn eq(&self, other: &LaunchPermissionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchPermissionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LaunchPermissionBuilder
impl Send for LaunchPermissionBuilder
impl Sync for LaunchPermissionBuilder
impl Unpin for LaunchPermissionBuilder
impl UnwindSafe for LaunchPermissionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more