Class ValidationResult
- java.lang.Object
-
- software.amazon.awssdk.services.nimble.model.ValidationResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ValidationResult.Builder,ValidationResult>
@Generated("software.amazon.awssdk:codegen") public final class ValidationResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ValidationResult.Builder,ValidationResult>
The launch profile validation result.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceValidationResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidationResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ValidationResult.Builder>serializableBuilderClass()LaunchProfileValidationStatestate()The current state.StringstateAsString()The current state.LaunchProfileValidationStatusCodestatusCode()The status code.StringstatusCodeAsString()The status code.StringstatusMessage()The status message for the validation result.ValidationResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.LaunchProfileValidationTypetype()The type of the validation result.StringtypeAsString()The type of the validation result.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
state
public final LaunchProfileValidationState state()
The current state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnLaunchProfileValidationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state.
- See Also:
LaunchProfileValidationState
-
stateAsString
public final String stateAsString()
The current state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnLaunchProfileValidationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state.
- See Also:
LaunchProfileValidationState
-
statusCode
public 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 returnLaunchProfileValidationStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusCodeAsString().- Returns:
- The status code. This will contain the failure reason if the state is
VALIDATION_FAILED. - See Also:
LaunchProfileValidationStatusCode
-
statusCodeAsString
public 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 returnLaunchProfileValidationStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusCodeAsString().- Returns:
- The status code. This will contain the failure reason if the state is
VALIDATION_FAILED. - See Also:
LaunchProfileValidationStatusCode
-
statusMessage
public final String statusMessage()
The status message for the validation result.
- Returns:
- The status message for the validation result.
-
type
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,
typewill returnLaunchProfileValidationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the validation result.
- See Also:
LaunchProfileValidationType
-
typeAsString
public 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,
typewill returnLaunchProfileValidationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the validation result.
- See Also:
LaunchProfileValidationType
-
toBuilder
public ValidationResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ValidationResult.Builder,ValidationResult>
-
builder
public static ValidationResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends ValidationResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-