@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMemberResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMemberResult() |
Modifier and Type | Method and Description |
---|---|
GetMemberResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetMemberResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetMemberResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID for the account.
|
String |
getArn()
The Amazon Resource Name (ARN) of the account.
|
String |
getEmail()
The email address for the account.
|
Date |
getInvitedAt()
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent
to the account.
|
String |
getMasterAccountId()
The AWS account ID for the master account.
|
String |
getRelationshipStatus()
The current status of the relationship between the account and the master account.
|
Map<String,String> |
getTags()
A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account
in Amazon Macie.
|
Date |
getUpdatedAt()
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the
relationship between the account and the master account.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The AWS account ID for the account.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the account.
|
void |
setEmail(String email)
The email address for the account.
|
void |
setInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent
to the account.
|
void |
setMasterAccountId(String masterAccountId)
The AWS account ID for the master account.
|
void |
setRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the master account.
|
void |
setTags(Map<String,String> tags)
A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account
in Amazon Macie.
|
void |
setUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the
relationship between the account and the master account.
|
String |
toString()
Returns a string representation of this object.
|
GetMemberResult |
withAccountId(String accountId)
The AWS account ID for the account.
|
GetMemberResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the account.
|
GetMemberResult |
withEmail(String email)
The email address for the account.
|
GetMemberResult |
withInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent
to the account.
|
GetMemberResult |
withMasterAccountId(String masterAccountId)
The AWS account ID for the master account.
|
GetMemberResult |
withRelationshipStatus(RelationshipStatus relationshipStatus)
The current status of the relationship between the account and the master account.
|
GetMemberResult |
withRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the master account.
|
GetMemberResult |
withTags(Map<String,String> tags)
A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account
in Amazon Macie.
|
GetMemberResult |
withUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the
relationship between the account and the master account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccountId(String accountId)
The AWS account ID for the account.
accountId
- The AWS account ID for the account.public String getAccountId()
The AWS account ID for the account.
public GetMemberResult withAccountId(String accountId)
The AWS account ID for the account.
accountId
- The AWS account ID for the account.public void setArn(String arn)
The Amazon Resource Name (ARN) of the account.
arn
- The Amazon Resource Name (ARN) of the account.public String getArn()
The Amazon Resource Name (ARN) of the account.
public GetMemberResult withArn(String arn)
The Amazon Resource Name (ARN) of the account.
arn
- The Amazon Resource Name (ARN) of the account.public void setEmail(String email)
The email address for the account.
email
- The email address for the account.public String getEmail()
The email address for the account.
public GetMemberResult withEmail(String email)
The email address for the account.
email
- The email address for the account.public void setInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
invitedAt
- The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was
last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.public Date getInvitedAt()
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
public GetMemberResult withInvitedAt(Date invitedAt)
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
invitedAt
- The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was
last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.public void setMasterAccountId(String masterAccountId)
The AWS account ID for the master account.
masterAccountId
- The AWS account ID for the master account.public String getMasterAccountId()
The AWS account ID for the master account.
public GetMemberResult withMasterAccountId(String masterAccountId)
The AWS account ID for the master account.
masterAccountId
- The AWS account ID for the master account.public void setRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the master account.
relationshipStatus
- The current status of the relationship between the account and the master account.RelationshipStatus
public String getRelationshipStatus()
The current status of the relationship between the account and the master account.
RelationshipStatus
public GetMemberResult withRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the master account.
relationshipStatus
- The current status of the relationship between the account and the master account.RelationshipStatus
public GetMemberResult withRelationshipStatus(RelationshipStatus relationshipStatus)
The current status of the relationship between the account and the master account.
relationshipStatus
- The current status of the relationship between the account and the master account.RelationshipStatus
public Map<String,String> getTags()
A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.
public void setTags(Map<String,String> tags)
A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.
tags
- A map of key-value pairs that identifies the tags (keys and values) that are associated with the member
account in Amazon Macie.public GetMemberResult withTags(Map<String,String> tags)
A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.
tags
- A map of key-value pairs that identifies the tags (keys and values) that are associated with the member
account in Amazon Macie.public GetMemberResult addTagsEntry(String key, String value)
public GetMemberResult clearTagsEntries()
public void setUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.
updatedAt
- The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the
relationship between the account and the master account.public Date getUpdatedAt()
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.
public GetMemberResult withUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.
updatedAt
- The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the
relationship between the account and the master account.public String toString()
toString
in class Object
Object.toString()
public GetMemberResult clone()