@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Member extends Object implements Serializable, Cloneable, StructuredPojo
The details about a member account.
Constructor and Description |
---|
Member() |
Modifier and Type | Method and Description |
---|---|
Member |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID of the member account.
|
String |
getEmail()
The email address of the member account.
|
Date |
getInvitedAt()
A timestamp for the date and time when the invitation was sent to the member account.
|
String |
getMasterId()
The AWS account ID of the Security Hub master account associated with this member account.
|
String |
getMemberStatus()
The status of the relationship between the member account and its master account.
|
Date |
getUpdatedAt()
The timestamp for the date and time when the member account was updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The AWS account ID of the member account.
|
void |
setEmail(String email)
The email address of the member account.
|
void |
setInvitedAt(Date invitedAt)
A timestamp for the date and time when the invitation was sent to the member account.
|
void |
setMasterId(String masterId)
The AWS account ID of the Security Hub master account associated with this member account.
|
void |
setMemberStatus(String memberStatus)
The status of the relationship between the member account and its master account.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp for the date and time when the member account was updated.
|
String |
toString()
Returns a string representation of this object.
|
Member |
withAccountId(String accountId)
The AWS account ID of the member account.
|
Member |
withEmail(String email)
The email address of the member account.
|
Member |
withInvitedAt(Date invitedAt)
A timestamp for the date and time when the invitation was sent to the member account.
|
Member |
withMasterId(String masterId)
The AWS account ID of the Security Hub master account associated with this member account.
|
Member |
withMemberStatus(String memberStatus)
The status of the relationship between the member account and its master account.
|
Member |
withUpdatedAt(Date updatedAt)
The timestamp for the date and time when the member account was updated.
|
public void setAccountId(String accountId)
The AWS account ID of the member account.
accountId
- The AWS account ID of the member account.public String getAccountId()
The AWS account ID of the member account.
public Member withAccountId(String accountId)
The AWS account ID of the member account.
accountId
- The AWS account ID of the member account.public void setEmail(String email)
The email address of the member account.
email
- The email address of the member account.public String getEmail()
The email address of the member account.
public Member withEmail(String email)
The email address of the member account.
email
- The email address of the member account.public void setMasterId(String masterId)
The AWS account ID of the Security Hub master account associated with this member account.
masterId
- The AWS account ID of the Security Hub master account associated with this member account.public String getMasterId()
The AWS account ID of the Security Hub master account associated with this member account.
public Member withMasterId(String masterId)
The AWS account ID of the Security Hub master account associated with this member account.
masterId
- The AWS account ID of the Security Hub master account associated with this member account.public void setMemberStatus(String memberStatus)
The status of the relationship between the member account and its master account.
The status can have one of the following values:
CREATED
- Indicates that the master account added the member account, but has not yet invited the
member account.
INVITED
- Indicates that the master account invited the member account. The member account has not
yet responded to the invitation.
ENABLED
- Indicates that the member account is currently active. For manually invited member
accounts, indicates that the member account accepted the invitation.
REMOVED
- Indicates that the master account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the master account.
DELETED
- Indicates that the master account deleted the member account.
memberStatus
- The status of the relationship between the member account and its master account.
The status can have one of the following values:
CREATED
- Indicates that the master account added the member account, but has not yet invited
the member account.
INVITED
- Indicates that the master account invited the member account. The member account
has not yet responded to the invitation.
ENABLED
- Indicates that the member account is currently active. For manually invited member
accounts, indicates that the member account accepted the invitation.
REMOVED
- Indicates that the master account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the master
account.
DELETED
- Indicates that the master account deleted the member account.
public String getMemberStatus()
The status of the relationship between the member account and its master account.
The status can have one of the following values:
CREATED
- Indicates that the master account added the member account, but has not yet invited the
member account.
INVITED
- Indicates that the master account invited the member account. The member account has not
yet responded to the invitation.
ENABLED
- Indicates that the member account is currently active. For manually invited member
accounts, indicates that the member account accepted the invitation.
REMOVED
- Indicates that the master account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the master account.
DELETED
- Indicates that the master account deleted the member account.
The status can have one of the following values:
CREATED
- Indicates that the master account added the member account, but has not yet
invited the member account.
INVITED
- Indicates that the master account invited the member account. The member account
has not yet responded to the invitation.
ENABLED
- Indicates that the member account is currently active. For manually invited member
accounts, indicates that the member account accepted the invitation.
REMOVED
- Indicates that the master account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the master
account.
DELETED
- Indicates that the master account deleted the member account.
public Member withMemberStatus(String memberStatus)
The status of the relationship between the member account and its master account.
The status can have one of the following values:
CREATED
- Indicates that the master account added the member account, but has not yet invited the
member account.
INVITED
- Indicates that the master account invited the member account. The member account has not
yet responded to the invitation.
ENABLED
- Indicates that the member account is currently active. For manually invited member
accounts, indicates that the member account accepted the invitation.
REMOVED
- Indicates that the master account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the master account.
DELETED
- Indicates that the master account deleted the member account.
memberStatus
- The status of the relationship between the member account and its master account.
The status can have one of the following values:
CREATED
- Indicates that the master account added the member account, but has not yet invited
the member account.
INVITED
- Indicates that the master account invited the member account. The member account
has not yet responded to the invitation.
ENABLED
- Indicates that the member account is currently active. For manually invited member
accounts, indicates that the member account accepted the invitation.
REMOVED
- Indicates that the master account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the master
account.
DELETED
- Indicates that the master account deleted the member account.
public void setInvitedAt(Date invitedAt)
A timestamp for the date and time when the invitation was sent to the member account.
invitedAt
- A timestamp for the date and time when the invitation was sent to the member account.public Date getInvitedAt()
A timestamp for the date and time when the invitation was sent to the member account.
public Member withInvitedAt(Date invitedAt)
A timestamp for the date and time when the invitation was sent to the member account.
invitedAt
- A timestamp for the date and time when the invitation was sent to the member account.public void setUpdatedAt(Date updatedAt)
The timestamp for the date and time when the member account was updated.
updatedAt
- The timestamp for the date and time when the member account was updated.public Date getUpdatedAt()
The timestamp for the date and time when the member account was updated.
public Member withUpdatedAt(Date updatedAt)
The timestamp for the date and time when the member account was updated.
updatedAt
- The timestamp for the date and time when the member account was updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.