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 ==
.