Class ValidationStrategy
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.ValidationStrategy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ValidationStrategy.Builder,ValidationStrategy>
@Generated("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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceValidationStrategy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidationStrategy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ValidationStrategyModemode()The mode of validation for the asset to be created or updated.StringmodeAsString()The mode of validation for the asset to be created or updated.List<SdkField<?>>sdkFields()static Class<? extends ValidationStrategy.Builder>serializableBuilderClass()ValidationStrategy.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
mode
public final ValidationStrategyMode mode()
The mode of validation for the asset to be created or updated. When you set this value to
STRICT, strict validation for every error is enforced. When you set this value toLENIENT, validation is skipped for specific UI errors.If the service returns an enum value that is not available in the current SDK version,
modewill returnValidationStrategyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The mode of validation for the asset to be created or updated. When you set this value to
STRICT, strict validation for every error is enforced. When you set this value toLENIENT, validation is skipped for specific UI errors. - See Also:
ValidationStrategyMode
-
modeAsString
public final String modeAsString()
The mode of validation for the asset to be created or updated. When you set this value to
STRICT, strict validation for every error is enforced. When you set this value toLENIENT, validation is skipped for specific UI errors.If the service returns an enum value that is not available in the current SDK version,
modewill returnValidationStrategyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The mode of validation for the asset to be created or updated. When you set this value to
STRICT, strict validation for every error is enforced. When you set this value toLENIENT, validation is skipped for specific UI errors. - See Also:
ValidationStrategyMode
-
toBuilder
public ValidationStrategy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ValidationStrategy.Builder,ValidationStrategy>
-
builder
public static ValidationStrategy.Builder builder()
-
serializableBuilderClass
public static Class<? extends ValidationStrategy.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.
-
-