public static class CatalogUpdateRequest.RenameCatalogRequest extends java.lang.Object implements CatalogUpdateRequest
CatalogUpdateRequest.RemoveCatalogPropertyRequest, CatalogUpdateRequest.RenameCatalogRequest, CatalogUpdateRequest.SetCatalogPropertyRequest, CatalogUpdateRequest.UpdateCatalogCommentRequest
Constructor and Description |
---|
RenameCatalogRequest()
Default constructor for RenameCatalogRequest.
|
RenameCatalogRequest(java.lang.String newName)
Constructor for RenameCatalogRequest.
|
Modifier and Type | Method and Description |
---|---|
CatalogChange |
catalogChange()
Returns the catalog change associated with this request.
|
void |
validate()
Validates the fields of the request.
|
public RenameCatalogRequest()
public RenameCatalogRequest(java.lang.String newName)
newName
- The new name for the catalog.public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- if the new name is not set.public CatalogChange catalogChange()
CatalogUpdateRequest
catalogChange
in interface CatalogUpdateRequest