@Generated(value="software.amazon.awssdk:codegen") public final class Member extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Member.Builder,Member>
Provides information about an account that's associated with an Amazon Macie administrator account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Member.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID for the account.
|
String |
administratorAccountId()
The Amazon Web Services account ID for the administrator account.
|
String |
arn()
The Amazon Resource Name (ARN) of the account.
|
static Member.Builder |
builder() |
String |
email()
The email address for the account.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Instant |
invitedAt()
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent
to the account.
|
String |
masterAccountId()
(Deprecated) The Amazon Web Services account ID for the administrator account.
|
RelationshipStatus |
relationshipStatus()
The current status of the relationship between the account and the administrator account.
|
String |
relationshipStatusAsString()
The current status of the relationship between the account and the administrator account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Member.Builder> |
serializableBuilderClass() |
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.
|
Member.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID for the account.
public final String administratorAccountId()
The Amazon Web Services account ID for the administrator account.
public final String arn()
The Amazon Resource Name (ARN) of the account.
public final String email()
The email address for the account.
public final Instant 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 an invitation hasn't been sent to the account.
public final 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.
public final RelationshipStatus relationshipStatus()
The current status of the relationship between the account and the administrator account.
If the service returns an enum value that is not available in the current SDK version,
relationshipStatus will return RelationshipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from relationshipStatusAsString().
RelationshipStatuspublic final String relationshipStatusAsString()
The current status of the relationship between the account and the administrator account.
If the service returns an enum value that is not available in the current SDK version,
relationshipStatus will return RelationshipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from relationshipStatusAsString().
RelationshipStatuspublic final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final Instant 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 Member.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Member.Builder,Member>public static Member.Builder builder()
public static Class<? extends Member.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.