@Generated(value="software.amazon.awssdk:codegen") public final class FailedAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailedAccount.Builder,FailedAccount>
An object with details on why an account failed to enable Amazon Inspector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FailedAccount.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID.
|
static FailedAccount.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorCode |
errorCode()
The error code explaining why the account failed to enable Amazon Inspector.
|
String |
errorCodeAsString()
The error code explaining why the account failed to enable Amazon Inspector.
|
String |
errorMessage()
The error message received when the account failed to enable Amazon Inspector.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceStatus |
resourceStatus()
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FailedAccount.Builder> |
serializableBuilderClass() |
Status |
status()
The status of Amazon Inspector for the account.
|
String |
statusAsString()
The status of Amazon Inspector for the account.
|
FailedAccount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID.
public final ErrorCode errorCode()
The error code explaining why the account failed to enable Amazon Inspector.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String errorCodeAsString()
The error code explaining why the account failed to enable Amazon Inspector.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String errorMessage()
The error message received when the account failed to enable Amazon Inspector.
public final ResourceStatus resourceStatus()
An object detailing which resources Amazon Inspector is enabled to scan for the account.
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 FailedAccount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FailedAccount.Builder,FailedAccount>public static FailedAccount.Builder builder()
public static Class<? extends FailedAccount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.