public static class TableUpdateRequest.RenameTableRequest extends java.lang.Object implements TableUpdateRequest
TableUpdateRequest.AddTableColumnRequest, TableUpdateRequest.DeleteTableColumnRequest, TableUpdateRequest.RemoveTablePropertyRequest, TableUpdateRequest.RenameTableColumnRequest, TableUpdateRequest.RenameTableRequest, TableUpdateRequest.SetTablePropertyRequest, TableUpdateRequest.UpdateTableColumnCommentRequest, TableUpdateRequest.UpdateTableColumnNullabilityRequest, TableUpdateRequest.UpdateTableColumnPositionRequest, TableUpdateRequest.UpdateTableColumnTypeRequest, TableUpdateRequest.UpdateTableCommentRequest
Constructor and Description |
---|
RenameTableRequest() |
RenameTableRequest(java.lang.String newName) |
Modifier and Type | Method and Description |
---|---|
TableChange |
tableChange() |
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
public RenameTableRequest(java.lang.String newName)
public RenameTableRequest()
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 TableChange tableChange()
tableChange
in interface TableUpdateRequest