@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Invitation extends Object implements Serializable, Cloneable, StructuredPojo
The details of an invitation sent to an AWS account by the Security Hub master account.
Constructor and Description |
---|
Invitation() |
Modifier and Type | Method and Description |
---|---|
Invitation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID of the master Security Hub account who sent the invitation.
|
String |
getInvitationId()
The ID of the invitation sent by the master Security Hub account.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The account ID of the master Security Hub account who sent the invitation.
|
void |
setInvitationId(String invitationId)
The ID of the invitation sent by the master Security Hub account.
|
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 master Security Hub account who sent the invitation.
|
Invitation |
withInvitationId(String invitationId)
The ID of the invitation sent by the master Security Hub account.
|
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 master Security Hub account who sent the invitation.
accountId
- The account ID of the master Security Hub account who sent the invitation.public String getAccountId()
The account ID of the master Security Hub account who sent the invitation.
public Invitation withAccountId(String accountId)
The account ID of the master Security Hub account who sent the invitation.
accountId
- The account ID of the master Security Hub account who sent the invitation.public void setInvitationId(String invitationId)
The ID of the invitation sent by the master Security Hub account.
invitationId
- The ID of the invitation sent by the master Security Hub account.public String getInvitationId()
The ID of the invitation sent by the master Security Hub account.
public Invitation withInvitationId(String invitationId)
The ID of the invitation sent by the master Security Hub account.
invitationId
- The ID of the invitation sent by the master Security Hub account.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 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.