Class AccountInfo

java.lang.Object
software.amazon.awssdk.services.sso.model.AccountInfo
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<AccountInfo.Builder,AccountInfo>

@Generated("software.amazon.awssdk:codegen") public final class AccountInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountInfo.Builder,AccountInfo>

Provides information about your AWS account.

See Also:
  • Method Details

    • accountId

      public final String accountId()

      The identifier of the AWS account that is assigned to the user.

      Returns:
      The identifier of the AWS account that is assigned to the user.
    • accountName

      public final String accountName()

      The display name of the AWS account that is assigned to the user.

      Returns:
      The display name of the AWS account that is assigned to the user.
    • emailAddress

      public final String emailAddress()

      The email address of the AWS account that is assigned to the user.

      Returns:
      The email address of the AWS account that is assigned to the user.
    • toBuilder

      public AccountInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<AccountInfo.Builder,AccountInfo>
    • builder

      public static AccountInfo.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AccountInfo.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo