@Generated(value="software.amazon.awssdk:codegen") public final class FreeTrialInfoError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FreeTrialInfoError.Builder,FreeTrialInfoError>
Information about an error received while accessing free trail data for an account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FreeTrialInfoError.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The account associated with the Amazon Inspector free trial information.
|
static FreeTrialInfoError.Builder |
builder() |
FreeTrialInfoErrorCode |
code()
The error code.
|
String |
codeAsString()
The error code.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The error message returned.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FreeTrialInfoError.Builder> |
serializableBuilderClass() |
FreeTrialInfoError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The account associated with the Amazon Inspector free trial information.
public final FreeTrialInfoErrorCode code()
The error code.
If the service returns an enum value that is not available in the current SDK version, code will return
FreeTrialInfoErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
FreeTrialInfoErrorCodepublic final String codeAsString()
The error code.
If the service returns an enum value that is not available in the current SDK version, code will return
FreeTrialInfoErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
FreeTrialInfoErrorCodepublic final String message()
The error message returned.
public FreeTrialInfoError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FreeTrialInfoError.Builder,FreeTrialInfoError>public static FreeTrialInfoError.Builder builder()
public static Class<? extends FreeTrialInfoError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.