Class MetalakeResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.MetalakeResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
Represents a response containing metalake information.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for MetalakeResponse.MetalakeResponse
(MetalakeDTO metalake) Constructor for MetalakeResponse. -
Method Summary
-
Constructor Details
-
MetalakeResponse
Constructor for MetalakeResponse.- Parameters:
metalake
- The metalake DTO.
-
MetalakeResponse
public MetalakeResponse()Default constructor for MetalakeResponse. (Used for Jackson deserialization.)
-
-
Method Details
-
validate
Validates the response data.- Specified by:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- if the metalake, name or audit information is not set.
-