@Generated(value="software.amazon.awssdk:codegen") public final class Account extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Account.Builder,Account>
An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Account.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The ID of the Amazon Web Services account.
|
static Account.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceStatus |
resourceStatus()
Details of the status of Amazon Inspector scans by resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Account.Builder> |
serializableBuilderClass() |
Status |
status()
The status of Amazon Inspector for the account.
|
String |
statusAsString()
The status of Amazon Inspector for the account.
|
Account.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The ID of the Amazon Web Services account.
public final ResourceStatus resourceStatus()
Details of the status of Amazon Inspector scans by resource type.
public final Status status()
The status of Amazon Inspector for the account.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic final String statusAsString()
The status of Amazon Inspector for the account.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic 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 © 2023. All rights reserved.