public static interface ResourceShareInvitation.Builder extends SdkPojo, CopyableBuilder<ResourceShareInvitation.Builder,ResourceShareInvitation>
| Modifier and Type | Method and Description |
|---|---|
ResourceShareInvitation.Builder |
invitationTimestamp(Instant invitationTimestamp)
The date and time when the invitation was sent.
|
ResourceShareInvitation.Builder |
receiverAccountId(String receiverAccountId)
The ID of the Amazon Web Services account that received the invitation.
|
ResourceShareInvitation.Builder |
receiverArn(String receiverArn)
The Amazon Resoure Name
(ARN) of the IAM user or role that received the invitation.
|
ResourceShareInvitation.Builder |
resourceShareArn(String resourceShareArn)
The Amazon Resoure Name
(ARN) of the resource share
|
ResourceShareInvitation.Builder |
resourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Deprecated.
This member has been deprecated. Use ListPendingInvitationResources.
|
ResourceShareInvitation.Builder |
resourceShareAssociations(Consumer<ResourceShareAssociation.Builder>... resourceShareAssociations)
Deprecated.
This member has been deprecated. Use ListPendingInvitationResources.
|
ResourceShareInvitation.Builder |
resourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
Deprecated.
This member has been deprecated. Use ListPendingInvitationResources.
|
ResourceShareInvitation.Builder |
resourceShareInvitationArn(String resourceShareInvitationArn)
The Amazon Resoure Name
(ARN) of the invitation.
|
ResourceShareInvitation.Builder |
resourceShareName(String resourceShareName)
The name of the resource share.
|
ResourceShareInvitation.Builder |
senderAccountId(String senderAccountId)
The ID of the Amazon Web Services account that sent the invitation.
|
ResourceShareInvitation.Builder |
status(ResourceShareInvitationStatus status)
The current status of the invitation.
|
ResourceShareInvitation.Builder |
status(String status)
The current status of the invitation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResourceShareInvitation.Builder resourceShareInvitationArn(String resourceShareInvitationArn)
The Amazon Resoure Name (ARN) of the invitation.
resourceShareInvitationArn - The Amazon
Resoure Name (ARN) of the invitation.ResourceShareInvitation.Builder resourceShareName(String resourceShareName)
The name of the resource share.
resourceShareName - The name of the resource share.ResourceShareInvitation.Builder resourceShareArn(String resourceShareArn)
The Amazon Resoure Name (ARN) of the resource share
resourceShareArn - The Amazon
Resoure Name (ARN) of the resource shareResourceShareInvitation.Builder senderAccountId(String senderAccountId)
The ID of the Amazon Web Services account that sent the invitation.
senderAccountId - The ID of the Amazon Web Services account that sent the invitation.ResourceShareInvitation.Builder receiverAccountId(String receiverAccountId)
The ID of the Amazon Web Services account that received the invitation.
receiverAccountId - The ID of the Amazon Web Services account that received the invitation.ResourceShareInvitation.Builder invitationTimestamp(Instant invitationTimestamp)
The date and time when the invitation was sent.
invitationTimestamp - The date and time when the invitation was sent.ResourceShareInvitation.Builder status(String status)
The current status of the invitation.
status - The current status of the invitation.ResourceShareInvitationStatus,
ResourceShareInvitationStatusResourceShareInvitation.Builder status(ResourceShareInvitationStatus status)
The current status of the invitation.
status - The current status of the invitation.ResourceShareInvitationStatus,
ResourceShareInvitationStatus@Deprecated ResourceShareInvitation.Builder resourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
resourceShareAssociations - To view the resources associated with a pending resource share invitation, use
ListPendingInvitationResources.@Deprecated ResourceShareInvitation.Builder resourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
resourceShareAssociations - To view the resources associated with a pending resource share invitation, use
ListPendingInvitationResources.@Deprecated ResourceShareInvitation.Builder resourceShareAssociations(Consumer<ResourceShareAssociation.Builder>... resourceShareAssociations)
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
This is a convenience method that creates an instance of theResourceShareAssociation.Builder avoiding the need to
create one manually via ResourceShareAssociation.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #resourceShareAssociations(List.
resourceShareAssociations - a consumer that will call methods on
ResourceShareAssociation.Builder#resourceShareAssociations(java.util.Collection) ResourceShareInvitation.Builder receiverArn(String receiverArn)
The Amazon Resoure Name (ARN) of the IAM user or role that received the invitation.
receiverArn - The Amazon
Resoure Name (ARN) of the IAM user or role that received the invitation.Copyright © 2022. All rights reserved.