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