@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 from which the invitations was sent.
|
String |
getInvitationId()
The ID of the invitation.
|
String |
getInvitedAt()
Timestamp at which 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 from which the invitations was sent.
|
void |
setInvitationId(String invitationId)
The ID of the invitation.
|
void |
setInvitedAt(String invitedAt)
Timestamp at which 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 from which the invitations was sent.
|
Invitation |
withInvitationId(String invitationId)
The ID of the invitation.
|
Invitation |
withInvitedAt(String invitedAt)
Timestamp at which 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 from which the invitations was sent.
accountId
- The ID of the account from which the invitations was sent.public String getAccountId()
The ID of the account from which the invitations was sent.
public Invitation withAccountId(String accountId)
The ID of the account from which the invitations was sent.
accountId
- The ID of the account from which the invitations was sent.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)
Timestamp at which the invitation was sent.
invitedAt
- Timestamp at which the invitation was sent.public String getInvitedAt()
Timestamp at which the invitation was sent.
public Invitation withInvitedAt(String invitedAt)
Timestamp at which the invitation was sent.
invitedAt
- Timestamp at which 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.