@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 AWS organization.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AdminAccount.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The AWS 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 a delegated administrator of Amazon Macie for the organization.
|
String |
statusAsString()
The current status of the account as a delegated administrator of Amazon Macie for the organization.
|
AdminAccount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String accountId()
The AWS account ID for the account.
public AdminStatus status()
The current status of the account as a delegated administrator of Amazon Macie 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 String statusAsString()
The current status of the account as a delegated administrator of Amazon Macie 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.