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