public static class SchemaUpdateRequest.SetSchemaPropertyRequest extends java.lang.Object implements SchemaUpdateRequest
SchemaUpdateRequest.RemoveSchemaPropertyRequest, SchemaUpdateRequest.SetSchemaPropertyRequest
Constructor and Description |
---|
SetSchemaPropertyRequest() |
SetSchemaPropertyRequest(java.lang.String property,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
SchemaChange |
schemaChange() |
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
public SetSchemaPropertyRequest(java.lang.String property, java.lang.String value)
public SetSchemaPropertyRequest()
public void validate() throws java.lang.IllegalArgumentException
RESTMessage
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
validate
in interface RESTMessage
java.lang.IllegalArgumentException
public SchemaChange schemaChange()
schemaChange
in interface SchemaUpdateRequest