Struct aws_sdk_macie2::types::builders::InvitationBuilder
source · #[non_exhaustive]pub struct InvitationBuilder { /* private fields */ }Expand description
A builder for Invitation.
Implementations§
source§impl InvitationBuilder
impl InvitationBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn invitation_id(self, input: impl Into<String>) -> Self
pub fn invitation_id(self, input: impl Into<String>) -> Self
The unique identifier for the invitation.
sourcepub fn set_invitation_id(self, input: Option<String>) -> Self
pub fn set_invitation_id(self, input: Option<String>) -> Self
The unique identifier for the invitation.
sourcepub fn get_invitation_id(&self) -> &Option<String>
pub fn get_invitation_id(&self) -> &Option<String>
The unique identifier for the invitation.
sourcepub fn invited_at(self, input: DateTime) -> Self
pub fn invited_at(self, input: DateTime) -> Self
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
sourcepub fn set_invited_at(self, input: Option<DateTime>) -> Self
pub fn set_invited_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
sourcepub fn get_invited_at(&self) -> &Option<DateTime>
pub fn get_invited_at(&self) -> &Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
sourcepub fn relationship_status(self, input: RelationshipStatus) -> Self
pub fn relationship_status(self, input: RelationshipStatus) -> Self
The status of the relationship between the account that sent the invitation and the account that received the invitation.
sourcepub fn set_relationship_status(self, input: Option<RelationshipStatus>) -> Self
pub fn set_relationship_status(self, input: Option<RelationshipStatus>) -> Self
The status of the relationship between the account that sent the invitation and the account that received the invitation.
sourcepub fn get_relationship_status(&self) -> &Option<RelationshipStatus>
pub fn get_relationship_status(&self) -> &Option<RelationshipStatus>
The status of the relationship between the account that sent the invitation and the account that received the invitation.
sourcepub fn build(self) -> Invitation
pub fn build(self) -> Invitation
Consumes the builder and constructs a Invitation.
Trait Implementations§
source§impl Clone for InvitationBuilder
impl Clone for InvitationBuilder
source§fn clone(&self) -> InvitationBuilder
fn clone(&self) -> InvitationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InvitationBuilder
impl Debug for InvitationBuilder
source§impl Default for InvitationBuilder
impl Default for InvitationBuilder
source§fn default() -> InvitationBuilder
fn default() -> InvitationBuilder
source§impl PartialEq for InvitationBuilder
impl PartialEq for InvitationBuilder
source§fn eq(&self, other: &InvitationBuilder) -> bool
fn eq(&self, other: &InvitationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InvitationBuilder
Auto Trait Implementations§
impl Freeze for InvitationBuilder
impl RefUnwindSafe for InvitationBuilder
impl Send for InvitationBuilder
impl Sync for InvitationBuilder
impl Unpin for InvitationBuilder
impl UnwindSafe for InvitationBuilder
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