Interface Invitation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Invitation.Builder,Invitation>, SdkBuilder<Invitation.Builder,Invitation>, SdkPojo
Enclosing class:
Invitation

public static interface Invitation.Builder extends SdkPojo, CopyableBuilder<Invitation.Builder,Invitation>
  • Method Details

    • invitationId

      Invitation.Builder invitationId(String invitationId)

      The unique identifier for the invitation.

      Parameters:
      invitationId - The unique identifier for the invitation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      Invitation.Builder creationDate(Instant creationDate)

      The date and time that the invitation was created.

      Parameters:
      creationDate - The date and time that the invitation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationDate

      Invitation.Builder expirationDate(Instant expirationDate)

      The date and time that the invitation expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, the invitee can no longer create a member and join the network using this InvitationId.

      Parameters:
      expirationDate - The date and time that the invitation expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, the invitee can no longer create a member and join the network using this InvitationId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Invitation.Builder status(String status)

      The status of the invitation:

      • PENDING - The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.

      • ACCEPTING - The invitee has begun creating a member, and creation hasn't yet completed.

      • ACCEPTED - The invitee created a member and joined the network using the InvitationID.

      • REJECTED - The invitee rejected the invitation.

      • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

      Parameters:
      status - The status of the invitation:

      • PENDING - The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.

      • ACCEPTING - The invitee has begun creating a member, and creation hasn't yet completed.

      • ACCEPTED - The invitee created a member and joined the network using the InvitationID.

      • REJECTED - The invitee rejected the invitation.

      • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the invitation:

      • PENDING - The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.

      • ACCEPTING - The invitee has begun creating a member, and creation hasn't yet completed.

      • ACCEPTED - The invitee created a member and joined the network using the InvitationID.

      • REJECTED - The invitee rejected the invitation.

      • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

      Parameters:
      status - The status of the invitation:

      • PENDING - The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.

      • ACCEPTING - The invitee has begun creating a member, and creation hasn't yet completed.

      • ACCEPTED - The invitee created a member and joined the network using the InvitationID.

      • REJECTED - The invitee rejected the invitation.

      • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkSummary

      Invitation.Builder networkSummary(NetworkSummary networkSummary)
      Sets the value of the NetworkSummary property for this object.
      Parameters:
      networkSummary - The new value for the NetworkSummary property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkSummary

      default Invitation.Builder networkSummary(Consumer<NetworkSummary.Builder> networkSummary)
      Sets the value of the NetworkSummary property for this object. This is a convenience method that creates an instance of the NetworkSummary.Builder avoiding the need to create one manually via NetworkSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkSummary(NetworkSummary).

      Parameters:
      networkSummary - a consumer that will call methods on NetworkSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • arn

      The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.