@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 |
getAdministratorId()
The AWS account ID of the Security Hub administrator account associated with this 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()
Deprecated.
|
String |
getMemberStatus()
The status of the relationship between the member account and its administrator 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 |
setAdministratorId(String administratorId)
The AWS account ID of the Security Hub administrator account associated with this 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)
Deprecated.
|
void |
setMemberStatus(String memberStatus)
The status of the relationship between the member account and its administrator 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 |
withAdministratorId(String administratorId)
The AWS account ID of the Security Hub administrator account associated with this 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)
Deprecated.
|
Member |
withMemberStatus(String memberStatus)
The status of the relationship between the member account and its administrator 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.@Deprecated public void setMasterId(String masterId)
This is replaced by AdministratorID
.
The AWS account ID of the Security Hub administrator account associated with this member account.
masterId
- This is replaced by AdministratorID
.
The AWS account ID of the Security Hub administrator account associated with this member account.
@Deprecated public String getMasterId()
This is replaced by AdministratorID
.
The AWS account ID of the Security Hub administrator account associated with this member account.
AdministratorID
.
The AWS account ID of the Security Hub administrator account associated with this member account.
@Deprecated public Member withMasterId(String masterId)
This is replaced by AdministratorID
.
The AWS account ID of the Security Hub administrator account associated with this member account.
masterId
- This is replaced by AdministratorID
.
The AWS account ID of the Security Hub administrator account associated with this member account.
public void setAdministratorId(String administratorId)
The AWS account ID of the Security Hub administrator account associated with this member account.
administratorId
- The AWS account ID of the Security Hub administrator account associated with this member account.public String getAdministratorId()
The AWS account ID of the Security Hub administrator account associated with this member account.
public Member withAdministratorId(String administratorId)
The AWS account ID of the Security Hub administrator account associated with this member account.
administratorId
- The AWS account ID of the Security Hub administrator account associated with this member account.public void setMemberStatus(String memberStatus)
The status of the relationship between the member account and its administrator account.
The status can have one of the following values:
CREATED
- Indicates that the administrator account added the member account, but has not yet invited
the member account.
INVITED
- Indicates that the administrator 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 administrator account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the administrator
account.
DELETED
- Indicates that the administrator account deleted the member account.
memberStatus
- The status of the relationship between the member account and its administrator account.
The status can have one of the following values:
CREATED
- Indicates that the administrator account added the member account, but has not yet
invited the member account.
INVITED
- Indicates that the administrator 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 administrator account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the administrator
account.
DELETED
- Indicates that the administrator account deleted the member account.
public String getMemberStatus()
The status of the relationship between the member account and its administrator account.
The status can have one of the following values:
CREATED
- Indicates that the administrator account added the member account, but has not yet invited
the member account.
INVITED
- Indicates that the administrator 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 administrator account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the administrator
account.
DELETED
- Indicates that the administrator account deleted the member account.
The status can have one of the following values:
CREATED
- Indicates that the administrator account added the member account, but has not yet
invited the member account.
INVITED
- Indicates that the administrator 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 administrator account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the administrator
account.
DELETED
- Indicates that the administrator account deleted the member account.
public Member withMemberStatus(String memberStatus)
The status of the relationship between the member account and its administrator account.
The status can have one of the following values:
CREATED
- Indicates that the administrator account added the member account, but has not yet invited
the member account.
INVITED
- Indicates that the administrator 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 administrator account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the administrator
account.
DELETED
- Indicates that the administrator account deleted the member account.
memberStatus
- The status of the relationship between the member account and its administrator account.
The status can have one of the following values:
CREATED
- Indicates that the administrator account added the member account, but has not yet
invited the member account.
INVITED
- Indicates that the administrator 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 administrator account disassociated the member account.
RESIGNED
- Indicates that the member account disassociated themselves from the administrator
account.
DELETED
- Indicates that the administrator 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.