@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.ValidationStrategyMode
public 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.ValidationStrategyMode
public 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.ValidationStrategyMode
public 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.ValidationStrategyMode
public String toString()
toString
in class Object
Object.toString()
public ValidationStrategy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.