@Generated(value="software.amazon.awssdk:codegen") public final class ValidationResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ValidationResult.Builder,ValidationResult>
The launch profile validation result.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidationResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ValidationResult.Builder |
builder() |
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 ValidationResult.Builder> |
serializableBuilderClass() |
LaunchProfileValidationState |
state()
The current state.
|
String |
stateAsString()
The current state.
|
LaunchProfileValidationStatusCode |
statusCode()
The status code.
|
String |
statusCodeAsString()
The status code.
|
String |
statusMessage()
The status message for the validation result.
|
ValidationResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
LaunchProfileValidationType |
type()
The type of the validation result.
|
String |
typeAsString()
The type of the validation result.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LaunchProfileValidationState state()
The current state.
If the service returns an enum value that is not available in the current SDK version, state will return
LaunchProfileValidationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
LaunchProfileValidationStatepublic final String stateAsString()
The current state.
If the service returns an enum value that is not available in the current SDK version, state will return
LaunchProfileValidationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
LaunchProfileValidationStatepublic final LaunchProfileValidationStatusCode statusCode()
The status code. This will contain the failure reason if the state is VALIDATION_FAILED.
If the service returns an enum value that is not available in the current SDK version, statusCode() will
return LaunchProfileValidationStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusCodeAsString().
VALIDATION_FAILED.LaunchProfileValidationStatusCodepublic final String statusCodeAsString()
The status code. This will contain the failure reason if the state is VALIDATION_FAILED.
If the service returns an enum value that is not available in the current SDK version, statusCode() will
return LaunchProfileValidationStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusCodeAsString().
VALIDATION_FAILED.LaunchProfileValidationStatusCodepublic final String statusMessage()
The status message for the validation result.
public final LaunchProfileValidationType type()
The type of the validation result.
If the service returns an enum value that is not available in the current SDK version, type will return
LaunchProfileValidationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
LaunchProfileValidationTypepublic final String typeAsString()
The type of the validation result.
If the service returns an enum value that is not available in the current SDK version, type will return
LaunchProfileValidationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
LaunchProfileValidationTypepublic ValidationResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ValidationResult.Builder,ValidationResult>public static ValidationResult.Builder builder()
public static Class<? extends ValidationResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.