Struct aws_sdk_datazone::operation::create_project_membership::builders::CreateProjectMembershipInputBuilder
source · #[non_exhaustive]pub struct CreateProjectMembershipInputBuilder { /* private fields */ }Expand description
A builder for CreateProjectMembershipInput.
Implementations§
source§impl CreateProjectMembershipInputBuilder
impl CreateProjectMembershipInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in which project membership is created.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in which project membership is created.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which project membership is created.
sourcepub fn project_identifier(self, input: impl Into<String>) -> Self
pub fn project_identifier(self, input: impl Into<String>) -> Self
The ID of the project for which this project membership was created.
This field is required.sourcepub fn set_project_identifier(self, input: Option<String>) -> Self
pub fn set_project_identifier(self, input: Option<String>) -> Self
The ID of the project for which this project membership was created.
sourcepub fn get_project_identifier(&self) -> &Option<String>
pub fn get_project_identifier(&self) -> &Option<String>
The ID of the project for which this project membership was created.
sourcepub fn member(self, input: Member) -> Self
pub fn member(self, input: Member) -> Self
The project member whose project membership was created.
This field is required.sourcepub fn set_member(self, input: Option<Member>) -> Self
pub fn set_member(self, input: Option<Member>) -> Self
The project member whose project membership was created.
sourcepub fn get_member(&self) -> &Option<Member>
pub fn get_member(&self) -> &Option<Member>
The project member whose project membership was created.
sourcepub fn designation(self, input: UserDesignation) -> Self
pub fn designation(self, input: UserDesignation) -> Self
The designation of the project membership.
This field is required.sourcepub fn set_designation(self, input: Option<UserDesignation>) -> Self
pub fn set_designation(self, input: Option<UserDesignation>) -> Self
The designation of the project membership.
sourcepub fn get_designation(&self) -> &Option<UserDesignation>
pub fn get_designation(&self) -> &Option<UserDesignation>
The designation of the project membership.
sourcepub fn build(self) -> Result<CreateProjectMembershipInput, BuildError>
pub fn build(self) -> Result<CreateProjectMembershipInput, BuildError>
Consumes the builder and constructs a CreateProjectMembershipInput.
source§impl CreateProjectMembershipInputBuilder
impl CreateProjectMembershipInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateProjectMembershipOutput, SdkError<CreateProjectMembershipError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateProjectMembershipOutput, SdkError<CreateProjectMembershipError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateProjectMembershipInputBuilder
impl Clone for CreateProjectMembershipInputBuilder
source§fn clone(&self) -> CreateProjectMembershipInputBuilder
fn clone(&self) -> CreateProjectMembershipInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateProjectMembershipInputBuilder
impl Default for CreateProjectMembershipInputBuilder
source§fn default() -> CreateProjectMembershipInputBuilder
fn default() -> CreateProjectMembershipInputBuilder
source§impl PartialEq for CreateProjectMembershipInputBuilder
impl PartialEq for CreateProjectMembershipInputBuilder
source§fn eq(&self, other: &CreateProjectMembershipInputBuilder) -> bool
fn eq(&self, other: &CreateProjectMembershipInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateProjectMembershipInputBuilder
Auto Trait Implementations§
impl Freeze for CreateProjectMembershipInputBuilder
impl RefUnwindSafe for CreateProjectMembershipInputBuilder
impl Send for CreateProjectMembershipInputBuilder
impl Sync for CreateProjectMembershipInputBuilder
impl Unpin for CreateProjectMembershipInputBuilder
impl UnwindSafe for CreateProjectMembershipInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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