Interface Invitation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Invitation.Builder,
,Invitation> SdkBuilder<Invitation.Builder,
,Invitation> SdkPojo
- Enclosing class:
Invitation
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the invitation.creationDate
(Instant creationDate) The date and time that the invitation was created.expirationDate
(Instant expirationDate) The date and time that the invitation expires.invitationId
(String invitationId) The unique identifier for the invitation.default Invitation.Builder
networkSummary
(Consumer<NetworkSummary.Builder> networkSummary) Sets the value of the NetworkSummary property for this object.networkSummary
(NetworkSummary networkSummary) Sets the value of the NetworkSummary property for this object.The status of the invitation:status
(InvitationStatus status) The status of the invitation: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 Details
-
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
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
The date and time that the invitation expires. This is the
CreationDate
plus theProposalDurationInHours
that is specified in theProposalThresholdPolicy
. After this date and time, the invitee can no longer create a member and join the network using thisInvitationId
.- Parameters:
expirationDate
- The date and time that the invitation expires. This is theCreationDate
plus theProposalDurationInHours
that is specified in theProposalThresholdPolicy
. After this date and time, the invitee can no longer create a member and join the network using thisInvitationId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theInvitationID
. -
REJECTED
- The invitee rejected the invitation. -
EXPIRED
- The invitee neither created a member nor rejected the invitation before theExpirationDate
.
- 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 theInvitationID
. -
REJECTED
- The invitee rejected the invitation. -
EXPIRED
- The invitee neither created a member nor rejected the invitation before theExpirationDate
.
-
- 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 theInvitationID
. -
REJECTED
- The invitee rejected the invitation. -
EXPIRED
- The invitee neither created a member nor rejected the invitation before theExpirationDate
.
- 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 theInvitationID
. -
REJECTED
- The invitee rejected the invitation. -
EXPIRED
- The invitee neither created a member nor rejected the invitation before theExpirationDate
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
Sets the value of the NetworkSummary property for this object. This is a convenience method that creates an instance of theNetworkSummary.Builder
avoiding the need to create one manually viaNetworkSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkSummary(NetworkSummary)
.- Parameters:
networkSummary
- a consumer that will call methods onNetworkSummary.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.
-