/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.glue.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateSchemaRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* This is a wrapper shape to contain the registry identity fields. If this is not provided, the default registry
* will be used. The ARN format for the same will be:
* arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id
.
*
* Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, * dollar sign, or hash mark. No whitespace. *
*/ private String schemaName; /** *
* The data format of the schema definition. Currently AVRO
, JSON
and
* PROTOBUF
are supported.
*
* The compatibility mode of the schema. The possible values are: *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do not * know the compatibility mode that you want to apply to schemas. Any new version added will be accepted without * undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this choice * to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the current * and one previous schema version. This means that for instance, a new schema version cannot drop data fields or * change the type of these fields, so they can't be read by readers using the previous version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all previous * schema versions. You can use this choice when you need to delete fields or add optional fields, and check * compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next schema * version, but not necessarily later versions. You can use this choice when you need to add fields or delete * optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any new * registered schema. You can use this choice when you need to add fields or delete optional fields, and check * compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the previous * or next version of the schema, but not necessarily earlier or later versions. You can use this choice when you * need to add or remove optional fields, but only check compatibility against the last schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using all * previous schema versions. You can use this choice when you need to add or remove optional fields, and check * compatibility against all previous schema versions. *
** An optional description of the schema. If description is not provided, there will not be any automatic default * value for this. *
*/ private String description; /** ** Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API. If * specified, follows the Amazon Web Services tags-on-create pattern. *
*/ private java.util.Map
* The schema definition using the DataFormat
setting for SchemaName
.
*
* This is a wrapper shape to contain the registry identity fields. If this is not provided, the default registry
* will be used. The ARN format for the same will be:
* arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id
.
*
arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id
.
*/
public void setRegistryId(RegistryId registryId) {
this.registryId = registryId;
}
/**
*
* This is a wrapper shape to contain the registry identity fields. If this is not provided, the default registry
* will be used. The ARN format for the same will be:
* arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id
.
*
arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id
.
*/
public RegistryId getRegistryId() {
return this.registryId;
}
/**
*
* This is a wrapper shape to contain the registry identity fields. If this is not provided, the default registry
* will be used. The ARN format for the same will be:
* arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id
.
*
arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateSchemaRequest withRegistryId(RegistryId registryId) {
setRegistryId(registryId);
return this;
}
/**
* * Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, * dollar sign, or hash mark. No whitespace. *
* * @param schemaName * Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, * underscore, dollar sign, or hash mark. No whitespace. */ public void setSchemaName(String schemaName) { this.schemaName = schemaName; } /** ** Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, * dollar sign, or hash mark. No whitespace. *
* * @return Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, * underscore, dollar sign, or hash mark. No whitespace. */ public String getSchemaName() { return this.schemaName; } /** ** Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, * dollar sign, or hash mark. No whitespace. *
* * @param schemaName * Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, * underscore, dollar sign, or hash mark. No whitespace. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSchemaRequest withSchemaName(String schemaName) { setSchemaName(schemaName); return this; } /** *
* The data format of the schema definition. Currently AVRO
, JSON
and
* PROTOBUF
are supported.
*
AVRO
, JSON
and
* PROTOBUF
are supported.
* @see DataFormat
*/
public void setDataFormat(String dataFormat) {
this.dataFormat = dataFormat;
}
/**
*
* The data format of the schema definition. Currently AVRO
, JSON
and
* PROTOBUF
are supported.
*
AVRO
, JSON
and
* PROTOBUF
are supported.
* @see DataFormat
*/
public String getDataFormat() {
return this.dataFormat;
}
/**
*
* The data format of the schema definition. Currently AVRO
, JSON
and
* PROTOBUF
are supported.
*
AVRO
, JSON
and
* PROTOBUF
are supported.
* @return Returns a reference to this object so that method calls can be chained together.
* @see DataFormat
*/
public CreateSchemaRequest withDataFormat(String dataFormat) {
setDataFormat(dataFormat);
return this;
}
/**
*
* The data format of the schema definition. Currently AVRO
, JSON
and
* PROTOBUF
are supported.
*
AVRO
, JSON
and
* PROTOBUF
are supported.
* @return Returns a reference to this object so that method calls can be chained together.
* @see DataFormat
*/
public CreateSchemaRequest withDataFormat(DataFormat dataFormat) {
this.dataFormat = dataFormat.toString();
return this;
}
/**
* * The compatibility mode of the schema. The possible values are: *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do not * know the compatibility mode that you want to apply to schemas. Any new version added will be accepted without * undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this choice * to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the current * and one previous schema version. This means that for instance, a new schema version cannot drop data fields or * change the type of these fields, so they can't be read by readers using the previous version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all previous * schema versions. You can use this choice when you need to delete fields or add optional fields, and check * compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next schema * version, but not necessarily later versions. You can use this choice when you need to add fields or delete * optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any new * registered schema. You can use this choice when you need to add fields or delete optional fields, and check * compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the previous * or next version of the schema, but not necessarily earlier or later versions. You can use this choice when you * need to add or remove optional fields, but only check compatibility against the last schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using all * previous schema versions. You can use this choice when you need to add or remove optional fields, and check * compatibility against all previous schema versions. *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do * not know the compatibility mode that you want to apply to schemas. Any new version added will be accepted * without undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this * choice to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the * current and one previous schema version. This means that for instance, a new schema version cannot drop * data fields or change the type of these fields, so they can't be read by readers using the previous * version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all * previous schema versions. You can use this choice when you need to delete fields or add optional fields, * and check compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next * schema version, but not necessarily later versions. You can use this choice when you need to add fields or * delete optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any * new registered schema. You can use this choice when you need to add fields or delete optional fields, and * check compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the * previous or next version of the schema, but not necessarily earlier or later versions. You can use this * choice when you need to add or remove optional fields, but only check compatibility against the last * schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using * all previous schema versions. You can use this choice when you need to add or remove optional fields, and * check compatibility against all previous schema versions. *
** The compatibility mode of the schema. The possible values are: *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do not * know the compatibility mode that you want to apply to schemas. Any new version added will be accepted without * undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this choice * to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the current * and one previous schema version. This means that for instance, a new schema version cannot drop data fields or * change the type of these fields, so they can't be read by readers using the previous version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all previous * schema versions. You can use this choice when you need to delete fields or add optional fields, and check * compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next schema * version, but not necessarily later versions. You can use this choice when you need to add fields or delete * optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any new * registered schema. You can use this choice when you need to add fields or delete optional fields, and check * compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the previous * or next version of the schema, but not necessarily earlier or later versions. You can use this choice when you * need to add or remove optional fields, but only check compatibility against the last schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using all * previous schema versions. You can use this choice when you need to add or remove optional fields, and check * compatibility against all previous schema versions. *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do * not know the compatibility mode that you want to apply to schemas. Any new version added will be accepted * without undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this * choice to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the * current and one previous schema version. This means that for instance, a new schema version cannot drop * data fields or change the type of these fields, so they can't be read by readers using the previous * version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all * previous schema versions. You can use this choice when you need to delete fields or add optional fields, * and check compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next * schema version, but not necessarily later versions. You can use this choice when you need to add fields * or delete optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any * new registered schema. You can use this choice when you need to add fields or delete optional fields, and * check compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the * previous or next version of the schema, but not necessarily earlier or later versions. You can use this * choice when you need to add or remove optional fields, but only check compatibility against the last * schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using * all previous schema versions. You can use this choice when you need to add or remove optional fields, and * check compatibility against all previous schema versions. *
** The compatibility mode of the schema. The possible values are: *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do not * know the compatibility mode that you want to apply to schemas. Any new version added will be accepted without * undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this choice * to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the current * and one previous schema version. This means that for instance, a new schema version cannot drop data fields or * change the type of these fields, so they can't be read by readers using the previous version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all previous * schema versions. You can use this choice when you need to delete fields or add optional fields, and check * compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next schema * version, but not necessarily later versions. You can use this choice when you need to add fields or delete * optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any new * registered schema. You can use this choice when you need to add fields or delete optional fields, and check * compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the previous * or next version of the schema, but not necessarily earlier or later versions. You can use this choice when you * need to add or remove optional fields, but only check compatibility against the last schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using all * previous schema versions. You can use this choice when you need to add or remove optional fields, and check * compatibility against all previous schema versions. *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do * not know the compatibility mode that you want to apply to schemas. Any new version added will be accepted * without undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this * choice to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the * current and one previous schema version. This means that for instance, a new schema version cannot drop * data fields or change the type of these fields, so they can't be read by readers using the previous * version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all * previous schema versions. You can use this choice when you need to delete fields or add optional fields, * and check compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next * schema version, but not necessarily later versions. You can use this choice when you need to add fields or * delete optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any * new registered schema. You can use this choice when you need to add fields or delete optional fields, and * check compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the * previous or next version of the schema, but not necessarily earlier or later versions. You can use this * choice when you need to add or remove optional fields, but only check compatibility against the last * schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using * all previous schema versions. You can use this choice when you need to add or remove optional fields, and * check compatibility against all previous schema versions. *
** The compatibility mode of the schema. The possible values are: *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do not * know the compatibility mode that you want to apply to schemas. Any new version added will be accepted without * undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this choice * to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the current * and one previous schema version. This means that for instance, a new schema version cannot drop data fields or * change the type of these fields, so they can't be read by readers using the previous version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all previous * schema versions. You can use this choice when you need to delete fields or add optional fields, and check * compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next schema * version, but not necessarily later versions. You can use this choice when you need to add fields or delete * optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any new * registered schema. You can use this choice when you need to add fields or delete optional fields, and check * compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the previous * or next version of the schema, but not necessarily earlier or later versions. You can use this choice when you * need to add or remove optional fields, but only check compatibility against the last schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using all * previous schema versions. You can use this choice when you need to add or remove optional fields, and check * compatibility against all previous schema versions. *
** NONE: No compatibility mode applies. You can use this choice in development scenarios or if you do * not know the compatibility mode that you want to apply to schemas. Any new version added will be accepted * without undergoing a compatibility check. *
** DISABLED: This compatibility choice prevents versioning for a particular schema. You can use this * choice to prevent future versioning of a schema. *
** BACKWARD: This compatibility choice is recommended as it allows data receivers to read both the * current and one previous schema version. This means that for instance, a new schema version cannot drop * data fields or change the type of these fields, so they can't be read by readers using the previous * version. *
** BACKWARD_ALL: This compatibility choice allows data receivers to read both the current and all * previous schema versions. You can use this choice when you need to delete fields or add optional fields, * and check compatibility against all previous schema versions. *
** FORWARD: This compatibility choice allows data receivers to read both the current and one next * schema version, but not necessarily later versions. You can use this choice when you need to add fields or * delete optional fields, but only check compatibility against the last schema version. *
** FORWARD_ALL: This compatibility choice allows data receivers to read written by producers of any * new registered schema. You can use this choice when you need to add fields or delete optional fields, and * check compatibility against all previous schema versions. *
** FULL: This compatibility choice allows data receivers to read data written by producers using the * previous or next version of the schema, but not necessarily earlier or later versions. You can use this * choice when you need to add or remove optional fields, but only check compatibility against the last * schema version. *
** FULL_ALL: This compatibility choice allows data receivers to read data written by producers using * all previous schema versions. You can use this choice when you need to add or remove optional fields, and * check compatibility against all previous schema versions. *
** An optional description of the schema. If description is not provided, there will not be any automatic default * value for this. *
* * @param description * An optional description of the schema. If description is not provided, there will not be any automatic * default value for this. */ public void setDescription(String description) { this.description = description; } /** ** An optional description of the schema. If description is not provided, there will not be any automatic default * value for this. *
* * @return An optional description of the schema. If description is not provided, there will not be any automatic * default value for this. */ public String getDescription() { return this.description; } /** ** An optional description of the schema. If description is not provided, there will not be any automatic default * value for this. *
* * @param description * An optional description of the schema. If description is not provided, there will not be any automatic * default value for this. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSchemaRequest withDescription(String description) { setDescription(description); return this; } /** ** Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API. If * specified, follows the Amazon Web Services tags-on-create pattern. *
* * @return Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or * API. If specified, follows the Amazon Web Services tags-on-create pattern. */ public java.util.Map* Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API. If * specified, follows the Amazon Web Services tags-on-create pattern. *
* * @param tags * Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or * API. If specified, follows the Amazon Web Services tags-on-create pattern. */ public void setTags(java.util.Map* Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API. If * specified, follows the Amazon Web Services tags-on-create pattern. *
* * @param tags * Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or * API. If specified, follows the Amazon Web Services tags-on-create pattern. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSchemaRequest withTags(java.util.Map
* The schema definition using the DataFormat
setting for SchemaName
.
*
DataFormat
setting for SchemaName
.
*/
public void setSchemaDefinition(String schemaDefinition) {
this.schemaDefinition = schemaDefinition;
}
/**
*
* The schema definition using the DataFormat
setting for SchemaName
.
*
DataFormat
setting for SchemaName
.
*/
public String getSchemaDefinition() {
return this.schemaDefinition;
}
/**
*
* The schema definition using the DataFormat
setting for SchemaName
.
*
DataFormat
setting for SchemaName
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateSchemaRequest withSchemaDefinition(String schemaDefinition) {
setSchemaDefinition(schemaDefinition);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getRegistryId() != null)
sb.append("RegistryId: ").append(getRegistryId()).append(",");
if (getSchemaName() != null)
sb.append("SchemaName: ").append(getSchemaName()).append(",");
if (getDataFormat() != null)
sb.append("DataFormat: ").append(getDataFormat()).append(",");
if (getCompatibility() != null)
sb.append("Compatibility: ").append(getCompatibility()).append(",");
if (getDescription() != null)
sb.append("Description: ").append(getDescription()).append(",");
if (getTags() != null)
sb.append("Tags: ").append(getTags()).append(",");
if (getSchemaDefinition() != null)
sb.append("SchemaDefinition: ").append(getSchemaDefinition());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof CreateSchemaRequest == false)
return false;
CreateSchemaRequest other = (CreateSchemaRequest) obj;
if (other.getRegistryId() == null ^ this.getRegistryId() == null)
return false;
if (other.getRegistryId() != null && other.getRegistryId().equals(this.getRegistryId()) == false)
return false;
if (other.getSchemaName() == null ^ this.getSchemaName() == null)
return false;
if (other.getSchemaName() != null && other.getSchemaName().equals(this.getSchemaName()) == false)
return false;
if (other.getDataFormat() == null ^ this.getDataFormat() == null)
return false;
if (other.getDataFormat() != null && other.getDataFormat().equals(this.getDataFormat()) == false)
return false;
if (other.getCompatibility() == null ^ this.getCompatibility() == null)
return false;
if (other.getCompatibility() != null && other.getCompatibility().equals(this.getCompatibility()) == false)
return false;
if (other.getDescription() == null ^ this.getDescription() == null)
return false;
if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
return false;
if (other.getTags() == null ^ this.getTags() == null)
return false;
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
return false;
if (other.getSchemaDefinition() == null ^ this.getSchemaDefinition() == null)
return false;
if (other.getSchemaDefinition() != null && other.getSchemaDefinition().equals(this.getSchemaDefinition()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getRegistryId() == null) ? 0 : getRegistryId().hashCode());
hashCode = prime * hashCode + ((getSchemaName() == null) ? 0 : getSchemaName().hashCode());
hashCode = prime * hashCode + ((getDataFormat() == null) ? 0 : getDataFormat().hashCode());
hashCode = prime * hashCode + ((getCompatibility() == null) ? 0 : getCompatibility().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getSchemaDefinition() == null) ? 0 : getSchemaDefinition().hashCode());
return hashCode;
}
@Override
public CreateSchemaRequest clone() {
return (CreateSchemaRequest) super.clone();
}
}