public class UpdateTableRequest extends java.lang.Object implements RESTRequest
Modifier and Type | Class and Description |
---|---|
static class |
UpdateTableRequest.Builder |
static interface |
UpdateTableRequest.UpdateRequirement |
Constructor and Description |
---|
UpdateTableRequest() |
UpdateTableRequest(java.util.List<UpdateTableRequest.UpdateRequirement> requirements,
java.util.List<MetadataUpdate> updates) |
Modifier and Type | Method and Description |
---|---|
static UpdateTableRequest.Builder |
builderFor(TableMetadata base) |
static UpdateTableRequest.Builder |
builderForCreate() |
static UpdateTableRequest.Builder |
builderForReplace(TableMetadata base) |
java.util.List<UpdateTableRequest.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<UpdateTableRequest.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<UpdateTableRequest.UpdateRequirement> requirements()
public java.util.List<MetadataUpdate> updates()
public java.lang.String toString()
toString
in class java.lang.Object
public static UpdateTableRequest.Builder builderForCreate()
public static UpdateTableRequest.Builder builderForReplace(TableMetadata base)
public static UpdateTableRequest.Builder builderFor(TableMetadata base)