@Generated(value="software.amazon.awssdk:codegen") public final class StatusReason extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StatusReason.Builder,StatusReason>
Provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails,
a Failed status is returned. For an analyzer with organization as the type, this failure can be due to
an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services
organization.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StatusReason.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StatusReason.Builder |
builder() |
ReasonCode |
code()
The reason code for the current status of the analyzer.
|
String |
codeAsString()
The reason code for the current status of the analyzer.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StatusReason.Builder> |
serializableBuilderClass() |
StatusReason.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ReasonCode code()
The reason code for the current status of the analyzer.
If the service returns an enum value that is not available in the current SDK version, code will return
ReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
ReasonCodepublic final String codeAsString()
The reason code for the current status of the analyzer.
If the service returns an enum value that is not available in the current SDK version, code will return
ReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
ReasonCodepublic StatusReason.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StatusReason.Builder,StatusReason>public static StatusReason.Builder builder()
public static Class<? extends StatusReason.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.