@Generated(value="software.amazon.awssdk:codegen") public final class AdminAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AdminAccount.Builder,AdminAccount>
Provides information about the delegated Amazon Macie administrator account for an organization in Organizations.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AdminAccount.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID for the account.
|
static AdminAccount.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AdminAccount.Builder> |
serializableBuilderClass() |
AdminStatus |
status()
The current status of the account as the delegated Amazon Macie administrator account for the organization.
|
String |
statusAsString()
The current status of the account as the delegated Amazon Macie administrator account for the organization.
|
AdminAccount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID for the account.
public final AdminStatus status()
The current status of the account as the delegated Amazon Macie administrator account for the organization.
If the service returns an enum value that is not available in the current SDK version, status will
return AdminStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AdminStatuspublic final String statusAsString()
The current status of the account as the delegated Amazon Macie administrator account for the organization.
If the service returns an enum value that is not available in the current SDK version, status will
return AdminStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AdminStatuspublic AdminAccount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AdminAccount.Builder,AdminAccount>public static AdminAccount.Builder builder()
public static Class<? extends AdminAccount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.