@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSchemaRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateSchemaRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateSchemaRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomain()
The domain for the schema.
|
String |
getName()
The name for the schema.
|
String |
getSchema()
A schema in Avro JSON format.
|
int |
hashCode() |
void |
setDomain(String domain)
The domain for the schema.
|
void |
setName(String name)
The name for the schema.
|
void |
setSchema(String schema)
A schema in Avro JSON format.
|
String |
toString()
Returns a string representation of this object.
|
CreateSchemaRequest |
withDomain(Domain domain)
The domain for the schema.
|
CreateSchemaRequest |
withDomain(String domain)
The domain for the schema.
|
CreateSchemaRequest |
withName(String name)
The name for the schema.
|
CreateSchemaRequest |
withSchema(String schema)
A schema in Avro JSON format.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name for the schema.
name - The name for the schema.public String getName()
The name for the schema.
public CreateSchemaRequest withName(String name)
The name for the schema.
name - The name for the schema.public void setSchema(String schema)
A schema in Avro JSON format.
schema - A schema in Avro JSON format.public String getSchema()
A schema in Avro JSON format.
public CreateSchemaRequest withSchema(String schema)
A schema in Avro JSON format.
schema - A schema in Avro JSON format.public void setDomain(String domain)
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
domain - The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify
the domain you chose when you created the Domain dataset group.Domainpublic String getDomain()
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
Domainpublic CreateSchemaRequest withDomain(String domain)
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
domain - The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify
the domain you chose when you created the Domain dataset group.Domainpublic CreateSchemaRequest withDomain(Domain domain)
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
domain - The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify
the domain you chose when you created the Domain dataset group.Domainpublic String toString()
toString in class ObjectObject.toString()public CreateSchemaRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()