@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 Amazon Web Services account ID for the account.
|
String |
getAdministratorAccountId()
The Amazon Web Services account ID for the administrator 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()
(Deprecated) The Amazon Web Services account ID for the administrator account.
|
String |
getRelationshipStatus()
The current status of the relationship between the account and the administrator account.
|
Map<String,String> |
getTags()
A map of key-value pairs that specifies which tags (keys and values) are associated with the 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 administrator account.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Web Services account ID for the account.
|
void |
setAdministratorAccountId(String administratorAccountId)
The Amazon Web Services account ID for the administrator 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)
(Deprecated) The Amazon Web Services account ID for the administrator account.
|
void |
setRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the administrator account.
|
void |
setTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the 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 administrator account.
|
String |
toString()
Returns a string representation of this object.
|
GetMemberResult |
withAccountId(String accountId)
The Amazon Web Services account ID for the account.
|
GetMemberResult |
withAdministratorAccountId(String administratorAccountId)
The Amazon Web Services account ID for the administrator 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)
(Deprecated) The Amazon Web Services account ID for the administrator account.
|
GetMemberResult |
withRelationshipStatus(RelationshipStatus relationshipStatus)
The current status of the relationship between the account and the administrator account.
|
GetMemberResult |
withRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the administrator account.
|
GetMemberResult |
withTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the 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 administrator account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccountId(String accountId)
The Amazon Web Services account ID for the account.
accountId
- The Amazon Web Services account ID for the account.public String getAccountId()
The Amazon Web Services account ID for the account.
public GetMemberResult withAccountId(String accountId)
The Amazon Web Services account ID for the account.
accountId
- The Amazon Web Services account ID for the account.public void setAdministratorAccountId(String administratorAccountId)
The Amazon Web Services account ID for the administrator account.
administratorAccountId
- The Amazon Web Services account ID for the administrator account.public String getAdministratorAccountId()
The Amazon Web Services account ID for the administrator account.
public GetMemberResult withAdministratorAccountId(String administratorAccountId)
The Amazon Web Services account ID for the administrator account.
administratorAccountId
- The Amazon Web Services account ID for the administrator 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. This value is null if the account is associated with the administrator account through Organizations.
email
- The email address for the account. This value is null if the account is associated with the administrator
account through Organizations.public String getEmail()
The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
public GetMemberResult withEmail(String email)
The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
email
- The email address for the account. This value is null if the account is associated with the administrator
account through Organizations.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 membership 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 membership 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 membership 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 membership 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 membership invitation hasn't been sent to the
account.public void setMasterAccountId(String masterAccountId)
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
masterAccountId
- (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been
replaced by the administratorAccountId property and is retained only for backward compatibility.public String getMasterAccountId()
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
public GetMemberResult withMasterAccountId(String masterAccountId)
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
masterAccountId
- (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been
replaced by the administratorAccountId property and is retained only for backward compatibility.public void setRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the administrator account.
relationshipStatus
- The current status of the relationship between the account and the administrator account.RelationshipStatus
public String getRelationshipStatus()
The current status of the relationship between the account and the administrator account.
RelationshipStatus
public GetMemberResult withRelationshipStatus(String relationshipStatus)
The current status of the relationship between the account and the administrator account.
relationshipStatus
- The current status of the relationship between the account and the administrator account.RelationshipStatus
public GetMemberResult withRelationshipStatus(RelationshipStatus relationshipStatus)
The current status of the relationship between the account and the administrator account.
relationshipStatus
- The current status of the relationship between the account and the administrator account.RelationshipStatus
public Map<String,String> getTags()
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
public void setTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
tags
- A map of key-value pairs that specifies which tags (keys and values) are associated with the account in
Amazon Macie.public GetMemberResult withTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
tags
- A map of key-value pairs that specifies which tags (keys and values) are associated with the 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 administrator 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 administrator 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 administrator 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 administrator 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 administrator account.public String toString()
toString
in class Object
Object.toString()
public GetMemberResult clone()