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 get_group(&self) -> &Option<PermissionGroup>
pub fn get_group(&self) -> &Option<PermissionGroup>
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 get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
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 get_organization_arn(&self) -> &Option<String>
pub fn get_organization_arn(&self) -> &Option<String>
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 get_organizational_unit_arn(&self) -> &Option<String>
pub fn get_organizational_unit_arn(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for LaunchPermissionBuilder
impl PartialEq for LaunchPermissionBuilder
source§fn eq(&self, other: &LaunchPermissionBuilder) -> bool
fn eq(&self, other: &LaunchPermissionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchPermissionBuilder
Auto Trait Implementations§
impl Freeze for LaunchPermissionBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more