Interface ResourceShareInvitation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceShareInvitation.Builder,ResourceShareInvitation>,SdkBuilder<ResourceShareInvitation.Builder,ResourceShareInvitation>,SdkPojo
- Enclosing class:
- ResourceShareInvitation
public static interface ResourceShareInvitation.Builder extends SdkPojo, CopyableBuilder<ResourceShareInvitation.Builder,ResourceShareInvitation>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceShareInvitationArn
ResourceShareInvitation.Builder resourceShareInvitationArn(String resourceShareInvitationArn)
The Amazon Resource Name (ARN) of the invitation.
- Parameters:
resourceShareInvitationArn- The Amazon Resource Name (ARN) of the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareName
ResourceShareInvitation.Builder resourceShareName(String resourceShareName)
The name of the resource share.
- Parameters:
resourceShareName- The name of the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareArn
ResourceShareInvitation.Builder resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share
- Parameters:
resourceShareArn- The Amazon Resource Name (ARN) of the resource share- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
senderAccountId
ResourceShareInvitation.Builder senderAccountId(String senderAccountId)
The ID of the Amazon Web Services account that sent the invitation.
- Parameters:
senderAccountId- The ID of the Amazon Web Services account that sent the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverAccountId
ResourceShareInvitation.Builder receiverAccountId(String receiverAccountId)
The ID of the Amazon Web Services account that received the invitation.
- Parameters:
receiverAccountId- The ID of the Amazon Web Services account that received the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitationTimestamp
ResourceShareInvitation.Builder invitationTimestamp(Instant invitationTimestamp)
The date and time when the invitation was sent.
- Parameters:
invitationTimestamp- The date and time when the invitation was sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ResourceShareInvitation.Builder status(String status)
The current status of the invitation.
- Parameters:
status- The current status of the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceShareInvitationStatus,ResourceShareInvitationStatus
-
status
ResourceShareInvitation.Builder status(ResourceShareInvitationStatus status)
The current status of the invitation.
- Parameters:
status- The current status of the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceShareInvitationStatus,ResourceShareInvitationStatus
-
resourceShareAssociations
@Deprecated ResourceShareInvitation.Builder resourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Deprecated.This member has been deprecated. Use ListPendingInvitationResources.To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
- Parameters:
resourceShareAssociations- To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareAssociations
@Deprecated ResourceShareInvitation.Builder resourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
Deprecated.This member has been deprecated. Use ListPendingInvitationResources.To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
- Parameters:
resourceShareAssociations- To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareAssociations
@Deprecated ResourceShareInvitation.Builder resourceShareAssociations(Consumer<ResourceShareAssociation.Builder>... resourceShareAssociations)
Deprecated.This member has been deprecated. Use ListPendingInvitationResources.To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
This is a convenience method that creates an instance of theResourceShareAssociation.Builderavoiding the need to create one manually viaResourceShareAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceShareAssociations(List.) - Parameters:
resourceShareAssociations- a consumer that will call methods onResourceShareAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceShareAssociations(java.util.Collection)
-
receiverArn
ResourceShareInvitation.Builder receiverArn(String receiverArn)
The Amazon Resource Name (ARN) of the IAM user or role that received the invitation.
- Parameters:
receiverArn- The Amazon Resource Name (ARN) of the IAM user or role that received the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-