public static class SchemaUpdateRequest.SetSchemaPropertyRequest extends java.lang.Object implements SchemaUpdateRequest
SchemaUpdateRequest.RemoveSchemaPropertyRequest, SchemaUpdateRequest.SetSchemaPropertyRequest
Constructor and Description |
---|
SetSchemaPropertyRequest()
Default constructor for Jackson deserialization.
|
SetSchemaPropertyRequest(java.lang.String property,
java.lang.String value)
Creates a new SetSchemaPropertyRequest.
|
Modifier and Type | Method and Description |
---|---|
SchemaChange |
schemaChange()
Returns the schema change.
|
void |
validate()
Validates the request.
|
public SetSchemaPropertyRequest(java.lang.String property, java.lang.String value)
property
- The property to set.value
- The value to set.public SetSchemaPropertyRequest()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- If the request is invalid, this exception is thrown.public SchemaChange schemaChange()
schemaChange
in interface SchemaUpdateRequest