Struct aws_sdk_ram::types::builders::ResourceShareInvitationBuilder
source · #[non_exhaustive]pub struct ResourceShareInvitationBuilder { /* private fields */ }Expand description
A builder for ResourceShareInvitation.
Implementations§
The Amazon Resource Name (ARN) of the invitation.
The Amazon Resource Name (ARN) of the invitation.
The Amazon Resource Name (ARN) of the invitation.
The name of the resource share.
The name of the resource share.
The name of the resource share.
The Amazon Resource Name (ARN) of the resource share
The Amazon Resource Name (ARN) of the resource share
The Amazon Resource Name (ARN) of the resource share
sourcepub fn sender_account_id(self, input: impl Into<String>) -> Self
pub fn sender_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that sent the invitation.
sourcepub fn set_sender_account_id(self, input: Option<String>) -> Self
pub fn set_sender_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that sent the invitation.
sourcepub fn get_sender_account_id(&self) -> &Option<String>
pub fn get_sender_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that sent the invitation.
sourcepub fn receiver_account_id(self, input: impl Into<String>) -> Self
pub fn receiver_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that received the invitation.
sourcepub fn set_receiver_account_id(self, input: Option<String>) -> Self
pub fn set_receiver_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that received the invitation.
sourcepub fn get_receiver_account_id(&self) -> &Option<String>
pub fn get_receiver_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that received the invitation.
sourcepub fn invitation_timestamp(self, input: DateTime) -> Self
pub fn invitation_timestamp(self, input: DateTime) -> Self
The date and time when the invitation was sent.
sourcepub fn set_invitation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_invitation_timestamp(self, input: Option<DateTime>) -> Self
The date and time when the invitation was sent.
sourcepub fn get_invitation_timestamp(&self) -> &Option<DateTime>
pub fn get_invitation_timestamp(&self) -> &Option<DateTime>
The date and time when the invitation was sent.
sourcepub fn status(self, input: ResourceShareInvitationStatus) -> Self
pub fn status(self, input: ResourceShareInvitationStatus) -> Self
The current status of the invitation.
sourcepub fn set_status(self, input: Option<ResourceShareInvitationStatus>) -> Self
pub fn set_status(self, input: Option<ResourceShareInvitationStatus>) -> Self
The current status of the invitation.
sourcepub fn get_status(&self) -> &Option<ResourceShareInvitationStatus>
pub fn get_status(&self) -> &Option<ResourceShareInvitationStatus>
The current status of the invitation.
👎Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
Appends an item to resource_share_associations.
To override the contents of this collection use set_resource_share_associations.
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
👎Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
👎Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
sourcepub fn receiver_arn(self, input: impl Into<String>) -> Self
pub fn receiver_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM user or role that received the invitation.
sourcepub fn set_receiver_arn(self, input: Option<String>) -> Self
pub fn set_receiver_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM user or role that received the invitation.
sourcepub fn get_receiver_arn(&self) -> &Option<String>
pub fn get_receiver_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM user or role that received the invitation.
sourcepub fn build(self) -> ResourceShareInvitation
pub fn build(self) -> ResourceShareInvitation
Consumes the builder and constructs a ResourceShareInvitation.
Trait Implementations§
source§fn clone(&self) -> ResourceShareInvitationBuilder
fn clone(&self) -> ResourceShareInvitationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§fn default() -> ResourceShareInvitationBuilder
fn default() -> ResourceShareInvitationBuilder
source§fn eq(&self, other: &ResourceShareInvitationBuilder) -> bool
fn eq(&self, other: &ResourceShareInvitationBuilder) -> bool
self and other values to be equal, and is used
by ==.