@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Invitation extends Object implements Serializable, Cloneable, StructuredPojo
The details of an invitation that the Security Hub master account sent to an AWS account.
| Constructor and Description |
|---|
Invitation() |
| Modifier and Type | Method and Description |
|---|---|
Invitation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID of the Security Hub master account that sent the invitation.
|
String |
getInvitationId()
The ID of the invitation that the Security Hub master account sent.
|
Date |
getInvitedAt()
The timestamp of when the invitation was sent.
|
String |
getMemberStatus()
The current relationship status between the inviter and invitee accounts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccountId(String accountId)
The account ID of the Security Hub master account that sent the invitation.
|
void |
setInvitationId(String invitationId)
The ID of the invitation that the Security Hub master account sent.
|
void |
setInvitedAt(Date invitedAt)
The timestamp of when the invitation was sent.
|
void |
setMemberStatus(String memberStatus)
The current relationship status between the inviter and invitee accounts.
|
String |
toString()
Returns a string representation of this object.
|
Invitation |
withAccountId(String accountId)
The account ID of the Security Hub master account that sent the invitation.
|
Invitation |
withInvitationId(String invitationId)
The ID of the invitation that the Security Hub master account sent.
|
Invitation |
withInvitedAt(Date invitedAt)
The timestamp of when the invitation was sent.
|
Invitation |
withMemberStatus(String memberStatus)
The current relationship status between the inviter and invitee accounts.
|
public void setAccountId(String accountId)
The account ID of the Security Hub master account that sent the invitation.
accountId - The account ID of the Security Hub master account that sent the invitation.public String getAccountId()
The account ID of the Security Hub master account that sent the invitation.
public Invitation withAccountId(String accountId)
The account ID of the Security Hub master account that sent the invitation.
accountId - The account ID of the Security Hub master account that sent the invitation.public void setInvitationId(String invitationId)
The ID of the invitation that the Security Hub master account sent.
invitationId - The ID of the invitation that the Security Hub master account sent.public String getInvitationId()
The ID of the invitation that the Security Hub master account sent.
public Invitation withInvitationId(String invitationId)
The ID of the invitation that the Security Hub master account sent.
invitationId - The ID of the invitation that the Security Hub master account sent.public void setInvitedAt(Date invitedAt)
The timestamp of when the invitation was sent.
invitedAt - The timestamp of when the invitation was sent.public Date getInvitedAt()
The timestamp of when the invitation was sent.
public Invitation withInvitedAt(Date invitedAt)
The timestamp of when the invitation was sent.
invitedAt - The timestamp of when the invitation was sent.public void setMemberStatus(String memberStatus)
The current relationship status between the inviter and invitee accounts.
memberStatus - The current relationship status between the inviter and invitee accounts.public String getMemberStatus()
The current relationship status between the inviter and invitee accounts.
public Invitation withMemberStatus(String memberStatus)
The current relationship status between the inviter and invitee accounts.
memberStatus - The current relationship status between the inviter and invitee accounts.public String toString()
toString in class ObjectObject.toString()public Invitation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.