public class CreateNamespaceRequest extends java.lang.Object implements RESTRequest
Modifier and Type | Class and Description |
---|---|
static class |
CreateNamespaceRequest.Builder |
Constructor and Description |
---|
CreateNamespaceRequest() |
Modifier and Type | Method and Description |
---|---|
static CreateNamespaceRequest.Builder |
builder() |
Namespace |
namespace() |
java.util.Map<java.lang.String,java.lang.String> |
properties() |
java.lang.String |
toString() |
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
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 Namespace namespace()
public java.util.Map<java.lang.String,java.lang.String> properties()
public java.lang.String toString()
toString
in class java.lang.Object
public static CreateNamespaceRequest.Builder builder()