Struct aws_sdk_securityhub::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 account ID of the Security Hub administrator account that the invitation was sent from.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID of the Security Hub administrator account that the invitation was sent from.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID of the Security Hub administrator account that the invitation was sent from.
sourcepub fn invitation_id(self, input: impl Into<String>) -> Self
pub fn invitation_id(self, input: impl Into<String>) -> Self
The ID of the invitation sent to the member account.
sourcepub fn set_invitation_id(self, input: Option<String>) -> Self
pub fn set_invitation_id(self, input: Option<String>) -> Self
The ID of the invitation sent to the member account.
sourcepub fn get_invitation_id(&self) -> &Option<String>
pub fn get_invitation_id(&self) -> &Option<String>
The ID of the invitation sent to the member account.
sourcepub fn invited_at(self, input: DateTime) -> Self
pub fn invited_at(self, input: DateTime) -> Self
The timestamp of 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 timestamp of when the invitation was sent.
sourcepub fn get_invited_at(&self) -> &Option<DateTime>
pub fn get_invited_at(&self) -> &Option<DateTime>
The timestamp of when the invitation was sent.
sourcepub fn member_status(self, input: impl Into<String>) -> Self
pub fn member_status(self, input: impl Into<String>) -> Self
The current status of the association between the member and administrator accounts.
sourcepub fn set_member_status(self, input: Option<String>) -> Self
pub fn set_member_status(self, input: Option<String>) -> Self
The current status of the association between the member and administrator accounts.
sourcepub fn get_member_status(&self) -> &Option<String>
pub fn get_member_status(&self) -> &Option<String>
The current status of the association between the member and administrator accounts.
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