@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationStrategy extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
ValidationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
ValidationStrategy |
clone() |
boolean |
equals(Object obj) |
String |
getMode()
The mode of validation for the asset to be created or updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMode(String mode)
The mode of validation for the asset to be created or updated.
|
String |
toString()
Returns a string representation of this object.
|
ValidationStrategy |
withMode(String mode)
The mode of validation for the asset to be created or updated.
|
ValidationStrategy |
withMode(ValidationStrategyMode mode)
The mode of validation for the asset to be created or updated.
|
public void setMode(String 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 to LENIENT, validation is
skipped for specific UI errors.
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 to
LENIENT, validation is skipped for specific UI errors.ValidationStrategyModepublic String getMode()
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 to LENIENT, validation is
skipped for specific UI errors.
STRICT, strict validation for every error is enforced. When you set this value to
LENIENT, validation is skipped for specific UI errors.ValidationStrategyModepublic ValidationStrategy withMode(String 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 to LENIENT, validation is
skipped for specific UI errors.
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 to
LENIENT, validation is skipped for specific UI errors.ValidationStrategyModepublic ValidationStrategy withMode(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 to LENIENT, validation is
skipped for specific UI errors.
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 to
LENIENT, validation is skipped for specific UI errors.ValidationStrategyModepublic String toString()
toString in class ObjectObject.toString()public ValidationStrategy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.