@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckSchemaVersionValidityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CheckSchemaVersionValidityResult() |
Modifier and Type | Method and Description |
---|---|
CheckSchemaVersionValidityResult |
clone() |
boolean |
equals(Object obj) |
String |
getError()
A validation failure error message.
|
Boolean |
getValid()
Return true, if the schema is valid and false otherwise.
|
int |
hashCode() |
Boolean |
isValid()
Return true, if the schema is valid and false otherwise.
|
void |
setError(String error)
A validation failure error message.
|
void |
setValid(Boolean valid)
Return true, if the schema is valid and false otherwise.
|
String |
toString()
Returns a string representation of this object.
|
CheckSchemaVersionValidityResult |
withError(String error)
A validation failure error message.
|
CheckSchemaVersionValidityResult |
withValid(Boolean valid)
Return true, if the schema is valid and false otherwise.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setValid(Boolean valid)
Return true, if the schema is valid and false otherwise.
valid
- Return true, if the schema is valid and false otherwise.public Boolean getValid()
Return true, if the schema is valid and false otherwise.
public CheckSchemaVersionValidityResult withValid(Boolean valid)
Return true, if the schema is valid and false otherwise.
valid
- Return true, if the schema is valid and false otherwise.public Boolean isValid()
Return true, if the schema is valid and false otherwise.
public void setError(String error)
A validation failure error message.
error
- A validation failure error message.public String getError()
A validation failure error message.
public CheckSchemaVersionValidityResult withError(String error)
A validation failure error message.
error
- A validation failure error message.public String toString()
toString
in class Object
Object.toString()
public CheckSchemaVersionValidityResult clone()