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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The identifier of the AWS account that is assigned to the user.StringaccountName()The display name of the AWS account that is assigned to the user.static AccountInfo.Builderbuilder()StringemailAddress()The email address of the AWS account that is assigned to the user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AccountInfo.Builder>serializableBuilderClass()AccountInfo.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
-
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:
toBuilderin interfaceToCopyableBuilder<AccountInfo.Builder,AccountInfo>
-
builder
public static AccountInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountInfo.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.
-
-