public static class CatalogUpdateRequest.UpdateCatalogCommentRequest extends java.lang.Object implements CatalogUpdateRequest
CatalogUpdateRequest.RemoveCatalogPropertyRequest, CatalogUpdateRequest.RenameCatalogRequest, CatalogUpdateRequest.SetCatalogPropertyRequest, CatalogUpdateRequest.UpdateCatalogCommentRequest
Constructor and Description |
---|
UpdateCatalogCommentRequest()
Default constructor for UpdateCatalogCommentRequest.
|
UpdateCatalogCommentRequest(java.lang.String newComment)
Constructor for UpdateCatalogCommentRequest.
|
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 UpdateCatalogCommentRequest(java.lang.String newComment)
newComment
- The new comment for the catalog.public UpdateCatalogCommentRequest()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- if the new comment is not set.public CatalogChange catalogChange()
CatalogUpdateRequest
catalogChange
in interface CatalogUpdateRequest