@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Invitation extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the invitation to become a member account.
Constructor and Description |
---|
Invitation() |
Modifier and Type | Method and Description |
---|---|
Invitation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the account that the invitation was sent from.
|
String |
getInvitationId()
The ID of the invitation.
|
String |
getInvitedAt()
The timestamp when the invitation was sent.
|
String |
getRelationshipStatus()
The status of the relationship between the inviter and invitee accounts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of the account that the invitation was sent from.
|
void |
setInvitationId(String invitationId)
The ID of the invitation.
|
void |
setInvitedAt(String invitedAt)
The timestamp when the invitation was sent.
|
void |
setRelationshipStatus(String relationshipStatus)
The status of the relationship between the inviter and invitee accounts.
|
String |
toString()
Returns a string representation of this object.
|
Invitation |
withAccountId(String accountId)
The ID of the account that the invitation was sent from.
|
Invitation |
withInvitationId(String invitationId)
The ID of the invitation.
|
Invitation |
withInvitedAt(String invitedAt)
The timestamp when the invitation was sent.
|
Invitation |
withRelationshipStatus(String relationshipStatus)
The status of the relationship between the inviter and invitee accounts.
|
public void setAccountId(String accountId)
The ID of the account that the invitation was sent from.
accountId
- The ID of the account that the invitation was sent from.public String getAccountId()
The ID of the account that the invitation was sent from.
public Invitation withAccountId(String accountId)
The ID of the account that the invitation was sent from.
accountId
- The ID of the account that the invitation was sent from.public void setInvitationId(String invitationId)
The ID of the invitation. This value is used to validate the inviter account to the member account.
invitationId
- The ID of the invitation. This value is used to validate the inviter account to the member account.public String getInvitationId()
The ID of the invitation. This value is used to validate the inviter account to the member account.
public Invitation withInvitationId(String invitationId)
The ID of the invitation. This value is used to validate the inviter account to the member account.
invitationId
- The ID of the invitation. This value is used to validate the inviter account to the member account.public void setRelationshipStatus(String relationshipStatus)
The status of the relationship between the inviter and invitee accounts.
relationshipStatus
- The status of the relationship between the inviter and invitee accounts.public String getRelationshipStatus()
The status of the relationship between the inviter and invitee accounts.
public Invitation withRelationshipStatus(String relationshipStatus)
The status of the relationship between the inviter and invitee accounts.
relationshipStatus
- The status of the relationship between the inviter and invitee accounts.public void setInvitedAt(String invitedAt)
The timestamp when the invitation was sent.
invitedAt
- The timestamp when the invitation was sent.public String getInvitedAt()
The timestamp when the invitation was sent.
public Invitation withInvitedAt(String invitedAt)
The timestamp when the invitation was sent.
invitedAt
- The timestamp when the invitation was sent.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.