Class DelegatedAdministrator
- java.lang.Object
-
- software.amazon.awssdk.services.organizations.model.DelegatedAdministrator
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DelegatedAdministrator.Builder,DelegatedAdministrator>
@Generated("software.amazon.awssdk:codegen") public final class DelegatedAdministrator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DelegatedAdministrator.Builder,DelegatedAdministrator>
Contains information about the delegated administrator.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDelegatedAdministrator.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the delegated administrator's account.static DelegatedAdministrator.Builderbuilder()InstantdelegationEnabledDate()The date when the account was made a delegated administrator.Stringemail()The email address that is associated with the delegated administrator's Amazon Web Services account.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier (ID) of the delegated administrator's account.AccountJoinedMethodjoinedMethod()The method by which the delegated administrator's account joined the organization.StringjoinedMethodAsString()The method by which the delegated administrator's account joined the organization.InstantjoinedTimestamp()The date when the delegated administrator's account became a part of the organization.Stringname()The friendly name of the delegated administrator's account.List<SdkField<?>>sdkFields()static Class<? extends DelegatedAdministrator.Builder>serializableBuilderClass()AccountStatusstatus()The status of the delegated administrator's account in the organization.StringstatusAsString()The status of the delegated administrator's account in the organization.DelegatedAdministrator.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The unique identifier (ID) of the delegated administrator's account.
- Returns:
- The unique identifier (ID) of the delegated administrator's account.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the delegated administrator's account.
- Returns:
- The Amazon Resource Name (ARN) of the delegated administrator's account.
-
email
public final String email()
The email address that is associated with the delegated administrator's Amazon Web Services account.
- Returns:
- The email address that is associated with the delegated administrator's Amazon Web Services account.
-
name
public final String name()
The friendly name of the delegated administrator's account.
- Returns:
- The friendly name of the delegated administrator's account.
-
status
public final AccountStatus status()
The status of the delegated administrator's account in the organization.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAccountStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the delegated administrator's account in the organization.
- See Also:
AccountStatus
-
statusAsString
public final String statusAsString()
The status of the delegated administrator's account in the organization.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAccountStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the delegated administrator's account in the organization.
- See Also:
AccountStatus
-
joinedMethod
public final AccountJoinedMethod joinedMethod()
The method by which the delegated administrator's account joined the organization.
If the service returns an enum value that is not available in the current SDK version,
joinedMethodwill returnAccountJoinedMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjoinedMethodAsString().- Returns:
- The method by which the delegated administrator's account joined the organization.
- See Also:
AccountJoinedMethod
-
joinedMethodAsString
public final String joinedMethodAsString()
The method by which the delegated administrator's account joined the organization.
If the service returns an enum value that is not available in the current SDK version,
joinedMethodwill returnAccountJoinedMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjoinedMethodAsString().- Returns:
- The method by which the delegated administrator's account joined the organization.
- See Also:
AccountJoinedMethod
-
joinedTimestamp
public final Instant joinedTimestamp()
The date when the delegated administrator's account became a part of the organization.
- Returns:
- The date when the delegated administrator's account became a part of the organization.
-
delegationEnabledDate
public final Instant delegationEnabledDate()
The date when the account was made a delegated administrator.
- Returns:
- The date when the account was made a delegated administrator.
-
toBuilder
public DelegatedAdministrator.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DelegatedAdministrator.Builder,DelegatedAdministrator>
-
builder
public static DelegatedAdministrator.Builder builder()
-
serializableBuilderClass
public static Class<? extends DelegatedAdministrator.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-