@Generated(value="software.amazon.awssdk:codegen") public final class State extends Object implements SdkPojo, Serializable, ToCopyableBuilder<State.Builder,State>
An object that described the state of Amazon Inspector scans for an account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
State.Builder |
| Modifier and Type | Method and Description |
|---|---|
static State.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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends State.Builder> |
serializableBuilderClass() |
Status |
status()
The status of Amazon Inspector for the account.
|
String |
statusAsString()
The status of Amazon Inspector for the account.
|
State.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 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 State.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<State.Builder,State>public static State.Builder builder()
public static Class<? extends State.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.