Interface Invitation.Builder

    • Method Detail

      • 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:
        InvitationStatus, InvitationStatus
      • status

        Invitation.Builder status​(InvitationStatus 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:
        InvitationStatus, InvitationStatus
      • 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.
      • arn

        Invitation.Builder arn​(String 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.