@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Invitation extends Object implements Serializable, Cloneable, StructuredPojo
An invitation to an AWS account to create a member and join the network.
Constructor and Description |
---|
Invitation() |
Modifier and Type | Method and Description |
---|---|
Invitation |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date and time that the invitation was created.
|
Date |
getExpirationDate()
The date and time that the invitation expires.
|
String |
getInvitationId()
The unique identifier for the invitation.
|
NetworkSummary |
getNetworkSummary() |
String |
getStatus()
The status of the invitation:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The date and time that the invitation was created.
|
void |
setExpirationDate(Date expirationDate)
The date and time that the invitation expires.
|
void |
setInvitationId(String invitationId)
The unique identifier for the invitation.
|
void |
setNetworkSummary(NetworkSummary networkSummary) |
void |
setStatus(String status)
The status of the invitation:
|
String |
toString()
Returns a string representation of this object.
|
Invitation |
withCreationDate(Date creationDate)
The date and time that the invitation was created.
|
Invitation |
withExpirationDate(Date expirationDate)
The date and time that the invitation expires.
|
Invitation |
withInvitationId(String invitationId)
The unique identifier for the invitation.
|
Invitation |
withNetworkSummary(NetworkSummary networkSummary) |
Invitation |
withStatus(InvitationStatus status)
The status of the invitation:
|
Invitation |
withStatus(String status)
The status of the invitation:
|
public void setInvitationId(String invitationId)
The unique identifier for the invitation.
invitationId
- The unique identifier for the invitation.public String getInvitationId()
The unique identifier for the invitation.
public Invitation withInvitationId(String invitationId)
The unique identifier for the invitation.
invitationId
- The unique identifier for the invitation.public void setCreationDate(Date creationDate)
The date and time that the invitation was created.
creationDate
- The date and time that the invitation was created.public Date getCreationDate()
The date and time that the invitation was created.
public Invitation withCreationDate(Date creationDate)
The date and time that the invitation was created.
creationDate
- The date and time that the invitation was created.public void setExpirationDate(Date 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
.
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
.public Date getExpirationDate()
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
.
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
.public Invitation withExpirationDate(Date 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
.
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
.public void setStatus(String status)
The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has not yet
expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
status
- The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has
not yet expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
InvitationStatus
public String getStatus()
The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has not yet
expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
PENDING
- The invitee has not created a member to join the network, and the invitation has
not yet expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
InvitationStatus
public Invitation withStatus(String status)
The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has not yet
expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
status
- The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has
not yet expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
InvitationStatus
public Invitation withStatus(InvitationStatus status)
The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has not yet
expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
status
- The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has
not yet expired.
ACCEPTING
- The invitee has begun creating a member, and creation has not 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
.
InvitationStatus
public void setNetworkSummary(NetworkSummary networkSummary)
networkSummary
- public NetworkSummary getNetworkSummary()
public Invitation withNetworkSummary(NetworkSummary networkSummary)
networkSummary
- public String toString()
toString
in class Object
Object.toString()
public Invitation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.