@Generated(value="software.amazon.awssdk:codegen") public final class Account extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Account.Builder,Account>
The Amazon Chime account details. An AWS account can have multiple Amazon Chime accounts.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Account.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Chime account ID.
|
AccountStatus |
accountStatus()
The status of the account.
|
String |
accountStatusAsString()
The status of the account.
|
AccountType |
accountType()
The Amazon Chime account type.
|
String |
accountTypeAsString()
The Amazon Chime account type.
|
String |
awsAccountId()
The AWS account ID.
|
static Account.Builder |
builder() |
Instant |
createdTimestamp()
The Amazon Chime account creation timestamp, in ISO 8601 format.
|
License |
defaultLicense()
The default license for the Amazon Chime account.
|
String |
defaultLicenseAsString()
The default license for the Amazon Chime account.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSigninDelegateGroups()
For responses, this returns true if the service returned a value for the SigninDelegateGroups property.
|
boolean |
hasSupportedLicenses()
For responses, this returns true if the service returned a value for the SupportedLicenses property.
|
String |
name()
The Amazon Chime account name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Account.Builder> |
serializableBuilderClass() |
List<SigninDelegateGroup> |
signinDelegateGroups()
The sign-in delegate groups associated with the account.
|
List<License> |
supportedLicenses()
Supported licenses for the Amazon Chime account.
|
List<String> |
supportedLicensesAsStrings()
Supported licenses for the Amazon Chime account.
|
Account.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String awsAccountId()
The AWS account ID.
public final String accountId()
The Amazon Chime account ID.
public final String name()
The Amazon Chime account name.
public final AccountType accountType()
The Amazon Chime account type. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
If the service returns an enum value that is not available in the current SDK version, accountType will
return AccountType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accountTypeAsString().
AccountTypepublic final String accountTypeAsString()
The Amazon Chime account type. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
If the service returns an enum value that is not available in the current SDK version, accountType will
return AccountType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accountTypeAsString().
AccountTypepublic final Instant createdTimestamp()
The Amazon Chime account creation timestamp, in ISO 8601 format.
public final License defaultLicense()
The default license for the Amazon Chime account.
If the service returns an enum value that is not available in the current SDK version, defaultLicense
will return License.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
defaultLicenseAsString().
Licensepublic final String defaultLicenseAsString()
The default license for the Amazon Chime account.
If the service returns an enum value that is not available in the current SDK version, defaultLicense
will return License.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
defaultLicenseAsString().
Licensepublic final List<License> supportedLicenses()
Supported licenses for the Amazon Chime account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedLicenses() method.
public final boolean hasSupportedLicenses()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> supportedLicensesAsStrings()
Supported licenses for the Amazon Chime account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedLicenses() method.
public final AccountStatus accountStatus()
The status of the account.
If the service returns an enum value that is not available in the current SDK version, accountStatus
will return AccountStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accountStatusAsString().
AccountStatuspublic final String accountStatusAsString()
The status of the account.
If the service returns an enum value that is not available in the current SDK version, accountStatus
will return AccountStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accountStatusAsString().
AccountStatuspublic final boolean hasSigninDelegateGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<SigninDelegateGroup> signinDelegateGroups()
The sign-in delegate groups associated with the account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSigninDelegateGroups() method.
public Account.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Account.Builder,Account>public static Account.Builder builder()
public static Class<? extends Account.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.