@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Invitation extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an Amazon Macie membership invitation that was received by an account.
Constructor and Description |
---|
Invitation() |
Modifier and Type | Method and Description |
---|---|
Invitation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID for the account that sent the invitation.
|
String |
getInvitationId()
The unique identifier for the invitation.
|
Date |
getInvitedAt()
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
|
String |
getRelationshipStatus()
The status of the relationship between the account that sent the invitation (inviter account) and the
account that received the invitation (invitee account).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The AWS account ID for the account that sent the invitation.
|
void |
setInvitationId(String invitationId)
The unique identifier for the invitation.
|
void |
setInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
|
void |
setRelationshipStatus(String relationshipStatus)
The status of the relationship between the account that sent the invitation (inviter account) and the
account that received the invitation (invitee account).
|
String |
toString()
Returns a string representation of this object.
|
Invitation |
withAccountId(String accountId)
The AWS account ID for the account that sent the invitation.
|
Invitation |
withInvitationId(String invitationId)
The unique identifier for the invitation.
|
Invitation |
withInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
|
Invitation |
withRelationshipStatus(RelationshipStatus relationshipStatus)
The status of the relationship between the account that sent the invitation (inviter account) and the
account that received the invitation (invitee account).
|
Invitation |
withRelationshipStatus(String relationshipStatus)
The status of the relationship between the account that sent the invitation (inviter account) and the
account that received the invitation (invitee account).
|
public void setAccountId(String accountId)
The AWS account ID for the account that sent the invitation.
accountId
- The AWS account ID for the account that sent the invitation.public String getAccountId()
The AWS account ID for the account that sent the invitation.
public Invitation withAccountId(String accountId)
The AWS account ID for the account that sent the invitation.
accountId
- The AWS account ID for the account that sent the invitation.public void setInvitationId(String invitationId)
The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.
invitationId
- The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter
account with the invitee account.public String getInvitationId()
The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.
public Invitation withInvitationId(String invitationId)
The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.
invitationId
- The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter
account with the invitee account.public void setInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
invitedAt
- The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.public Date getInvitedAt()
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
public Invitation withInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
invitedAt
- The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.public void setRelationshipStatus(String relationshipStatus)
The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).
relationshipStatus
- The status of the relationship between the account that sent the invitation (inviter account) and
the account that received the invitation (invitee account).RelationshipStatus
public String getRelationshipStatus()
The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).
RelationshipStatus
public Invitation withRelationshipStatus(String relationshipStatus)
The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).
relationshipStatus
- The status of the relationship between the account that sent the invitation (inviter account) and
the account that received the invitation (invitee account).RelationshipStatus
public Invitation withRelationshipStatus(RelationshipStatus relationshipStatus)
The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).
relationshipStatus
- The status of the relationship between the account that sent the invitation (inviter account) and
the account that received the invitation (invitee account).RelationshipStatus
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.