@Generated(value="software.amazon.awssdk:codegen") public final class ValidationStrategy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ValidationStrategy.Builder,ValidationStrategy>
The option to relax the validation that is required to create and update analyses, dashboards, and templates with
definition objects. When you set this value to LENIENT, validation is skipped for specific errors.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidationStrategy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ValidationStrategy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ValidationStrategyMode |
mode()
The mode of validation for the asset to be creaed or updated.
|
String |
modeAsString()
The mode of validation for the asset to be creaed or updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ValidationStrategy.Builder> |
serializableBuilderClass() |
ValidationStrategy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ValidationStrategyMode mode()
The mode of validation for the asset to be creaed or updated. When you set this value to STRICT,
strict validation for every error is enforced. When you set this value to LENIENT, validation is
skipped for specific UI errors.
If the service returns an enum value that is not available in the current SDK version, mode will return
ValidationStrategyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
STRICT, strict validation for every error is enforced. When you set this value to
LENIENT, validation is skipped for specific UI errors.ValidationStrategyModepublic final String modeAsString()
The mode of validation for the asset to be creaed or updated. When you set this value to STRICT,
strict validation for every error is enforced. When you set this value to LENIENT, validation is
skipped for specific UI errors.
If the service returns an enum value that is not available in the current SDK version, mode will return
ValidationStrategyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
STRICT, strict validation for every error is enforced. When you set this value to
LENIENT, validation is skipped for specific UI errors.ValidationStrategyModepublic ValidationStrategy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ValidationStrategy.Builder,ValidationStrategy>public static ValidationStrategy.Builder builder()
public static Class<? extends ValidationStrategy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.