@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Invitation extends Object implements Serializable, Cloneable, StructuredPojo
Details about an invitation.
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 the invitation was sent from.
|
String |
getInvitationId()
The ID of the invitation sent to the member account.
|
Date |
getInvitedAt()
The timestamp of when the invitation was sent.
|
String |
getMemberStatus()
The current status of the association between the member and master accounts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The account ID of the Security Hub master account that the invitation was sent from.
|
void |
setInvitationId(String invitationId)
The ID of the invitation sent to the member account.
|
void |
setInvitedAt(Date invitedAt)
The timestamp of when the invitation was sent.
|
void |
setMemberStatus(String memberStatus)
The current status of the association between the member and master accounts.
|
String |
toString()
Returns a string representation of this object.
|
Invitation |
withAccountId(String accountId)
The account ID of the Security Hub master account that the invitation was sent from.
|
Invitation |
withInvitationId(String invitationId)
The ID of the invitation sent to the member account.
|
Invitation |
withInvitedAt(Date invitedAt)
The timestamp of when the invitation was sent.
|
Invitation |
withMemberStatus(String memberStatus)
The current status of the association between the member and master accounts.
|
public void setAccountId(String accountId)
The account ID of the Security Hub master account that the invitation was sent from.
accountId
- The account ID of the Security Hub master account that the invitation was sent from.public String getAccountId()
The account ID of the Security Hub master account that the invitation was sent from.
public Invitation withAccountId(String accountId)
The account ID of the Security Hub master account that the invitation was sent from.
accountId
- The account ID of the Security Hub master account that the invitation was sent from.public void setInvitationId(String invitationId)
The ID of the invitation sent to the member account.
invitationId
- The ID of the invitation sent to the member account.public String getInvitationId()
The ID of the invitation sent to the member account.
public Invitation withInvitationId(String invitationId)
The ID of the invitation sent to the member account.
invitationId
- The ID of the invitation sent to the member 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 status of the association between the member and master accounts.
memberStatus
- The current status of the association between the member and master accounts.public String getMemberStatus()
The current status of the association between the member and master accounts.
public Invitation withMemberStatus(String memberStatus)
The current status of the association between the member and master accounts.
memberStatus
- The current status of the association between the member and master 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.