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