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 AWS account that received the invitation.
|
ResourceShareInvitation.Builder |
resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
ResourceShareInvitation.Builder |
resourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
The resources associated with the resource share.
|
ResourceShareInvitation.Builder |
resourceShareAssociations(Consumer<ResourceShareAssociation.Builder>... resourceShareAssociations)
The resources associated with the resource share.
|
ResourceShareInvitation.Builder |
resourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
The resources associated with the resource share.
|
ResourceShareInvitation.Builder |
resourceShareInvitationArn(String resourceShareInvitationArn)
The Amazon Resource 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 AWS account that sent the invitation.
|
ResourceShareInvitation.Builder |
status(ResourceShareInvitationStatus status)
The status of the invitation.
|
ResourceShareInvitation.Builder |
status(String status)
The status of the invitation.
|
copy
applyMutation, build
ResourceShareInvitation.Builder resourceShareInvitationArn(String resourceShareInvitationArn)
The Amazon Resource Name (ARN) of the invitation.
resourceShareInvitationArn
- The Amazon Resource 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 Resource Name (ARN) of the resource share.
resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.ResourceShareInvitation.Builder senderAccountId(String senderAccountId)
The ID of the AWS account that sent the invitation.
senderAccountId
- The ID of the AWS account that sent the invitation.ResourceShareInvitation.Builder receiverAccountId(String receiverAccountId)
The ID of the AWS account that received the invitation.
receiverAccountId
- The ID of the AWS 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 status of the invitation.
status
- The status of the invitation.ResourceShareInvitationStatus
,
ResourceShareInvitationStatus
ResourceShareInvitation.Builder status(ResourceShareInvitationStatus status)
The status of the invitation.
status
- The status of the invitation.ResourceShareInvitationStatus
,
ResourceShareInvitationStatus
ResourceShareInvitation.Builder resourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
The resources associated with the resource share.
resourceShareAssociations
- The resources associated with the resource share.ResourceShareInvitation.Builder resourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
The resources associated with the resource share.
resourceShareAssociations
- The resources associated with the resource share.ResourceShareInvitation.Builder resourceShareAssociations(Consumer<ResourceShareAssociation.Builder>... resourceShareAssociations)
The resources associated with the resource share.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #resourceShareAssociations(List)
.resourceShareAssociations
- a consumer that will call methods on List.Builder
#resourceShareAssociations(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.