public class UpdateTableRequest extends java.lang.Object implements RESTRequest
Constructor and Description |
---|
UpdateTableRequest() |
UpdateTableRequest(java.util.List<UpdateRequirement> requirements,
java.util.List<MetadataUpdate> updates) |
Modifier and Type | Method and Description |
---|---|
static UpdateTableRequest |
create(TableIdentifier identifier,
java.util.List<UpdateRequirement> requirements,
java.util.List<MetadataUpdate> updates) |
TableIdentifier |
identifier() |
java.util.List<UpdateRequirement> |
requirements() |
java.lang.String |
toString() |
java.util.List<MetadataUpdate> |
updates() |
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
public UpdateTableRequest()
public UpdateTableRequest(java.util.List<UpdateRequirement> requirements, java.util.List<MetadataUpdate> updates)
public void validate()
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
public java.util.List<UpdateRequirement> requirements()
public java.util.List<MetadataUpdate> updates()
public TableIdentifier identifier()
public java.lang.String toString()
toString
in class java.lang.Object
public static UpdateTableRequest create(TableIdentifier identifier, java.util.List<UpdateRequirement> requirements, java.util.List<MetadataUpdate> updates)