@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSchemaResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSchemaResult() |
Modifier and Type | Method and Description |
---|---|
CreateSchemaResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSchemaResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSchemaResult |
clone() |
boolean |
equals(Object obj) |
String |
getCompatibility()
The schema compatibility mode.
|
String |
getDataFormat()
The data format of the schema definition.
|
String |
getDescription()
A description of the schema if specified when created.
|
Long |
getLatestSchemaVersion()
The latest version of the schema associated with the returned schema definition.
|
Long |
getNextSchemaVersion()
The next version of the schema associated with the returned schema definition.
|
String |
getRegistryArn()
The Amazon Resource Name (ARN) of the registry.
|
String |
getRegistryName()
The name of the registry.
|
String |
getSchemaArn()
The Amazon Resource Name (ARN) of the schema.
|
Long |
getSchemaCheckpoint()
The version number of the checkpoint (the last time the compatibility mode was changed).
|
String |
getSchemaName()
The name of the schema.
|
String |
getSchemaStatus()
The status of the schema.
|
String |
getSchemaVersionId()
The unique identifier of the first schema version.
|
String |
getSchemaVersionStatus()
The status of the first schema version created.
|
Map<String,String> |
getTags()
The tags for the schema.
|
int |
hashCode() |
void |
setCompatibility(String compatibility)
The schema compatibility mode.
|
void |
setDataFormat(String dataFormat)
The data format of the schema definition.
|
void |
setDescription(String description)
A description of the schema if specified when created.
|
void |
setLatestSchemaVersion(Long latestSchemaVersion)
The latest version of the schema associated with the returned schema definition.
|
void |
setNextSchemaVersion(Long nextSchemaVersion)
The next version of the schema associated with the returned schema definition.
|
void |
setRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the registry.
|
void |
setRegistryName(String registryName)
The name of the registry.
|
void |
setSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
|
void |
setSchemaCheckpoint(Long schemaCheckpoint)
The version number of the checkpoint (the last time the compatibility mode was changed).
|
void |
setSchemaName(String schemaName)
The name of the schema.
|
void |
setSchemaStatus(String schemaStatus)
The status of the schema.
|
void |
setSchemaVersionId(String schemaVersionId)
The unique identifier of the first schema version.
|
void |
setSchemaVersionStatus(String schemaVersionStatus)
The status of the first schema version created.
|
void |
setTags(Map<String,String> tags)
The tags for the schema.
|
String |
toString()
Returns a string representation of this object.
|
CreateSchemaResult |
withCompatibility(Compatibility compatibility)
The schema compatibility mode.
|
CreateSchemaResult |
withCompatibility(String compatibility)
The schema compatibility mode.
|
CreateSchemaResult |
withDataFormat(DataFormat dataFormat)
The data format of the schema definition.
|
CreateSchemaResult |
withDataFormat(String dataFormat)
The data format of the schema definition.
|
CreateSchemaResult |
withDescription(String description)
A description of the schema if specified when created.
|
CreateSchemaResult |
withLatestSchemaVersion(Long latestSchemaVersion)
The latest version of the schema associated with the returned schema definition.
|
CreateSchemaResult |
withNextSchemaVersion(Long nextSchemaVersion)
The next version of the schema associated with the returned schema definition.
|
CreateSchemaResult |
withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the registry.
|
CreateSchemaResult |
withRegistryName(String registryName)
The name of the registry.
|
CreateSchemaResult |
withSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
|
CreateSchemaResult |
withSchemaCheckpoint(Long schemaCheckpoint)
The version number of the checkpoint (the last time the compatibility mode was changed).
|
CreateSchemaResult |
withSchemaName(String schemaName)
The name of the schema.
|
CreateSchemaResult |
withSchemaStatus(SchemaStatus schemaStatus)
The status of the schema.
|
CreateSchemaResult |
withSchemaStatus(String schemaStatus)
The status of the schema.
|
CreateSchemaResult |
withSchemaVersionId(String schemaVersionId)
The unique identifier of the first schema version.
|
CreateSchemaResult |
withSchemaVersionStatus(SchemaVersionStatus schemaVersionStatus)
The status of the first schema version created.
|
CreateSchemaResult |
withSchemaVersionStatus(String schemaVersionStatus)
The status of the first schema version created.
|
CreateSchemaResult |
withTags(Map<String,String> tags)
The tags for the schema.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRegistryName(String registryName)
The name of the registry.
registryName
- The name of the registry.public String getRegistryName()
The name of the registry.
public CreateSchemaResult withRegistryName(String registryName)
The name of the registry.
registryName
- The name of the registry.public void setRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the registry.
registryArn
- The Amazon Resource Name (ARN) of the registry.public String getRegistryArn()
The Amazon Resource Name (ARN) of the registry.
public CreateSchemaResult withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the registry.
registryArn
- The Amazon Resource Name (ARN) of the registry.public void setSchemaName(String schemaName)
The name of the schema.
schemaName
- The name of the schema.public String getSchemaName()
The name of the schema.
public CreateSchemaResult withSchemaName(String schemaName)
The name of the schema.
schemaName
- The name of the schema.public void setSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
schemaArn
- The Amazon Resource Name (ARN) of the schema.public String getSchemaArn()
The Amazon Resource Name (ARN) of the schema.
public CreateSchemaResult withSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
schemaArn
- The Amazon Resource Name (ARN) of the schema.public void setDescription(String description)
A description of the schema if specified when created.
description
- A description of the schema if specified when created.public String getDescription()
A description of the schema if specified when created.
public CreateSchemaResult withDescription(String description)
A description of the schema if specified when created.
description
- A description of the schema if specified when created.public void setDataFormat(String dataFormat)
The data format of the schema definition. Currently AVRO
, JSON
and
PROTOBUF
are supported.
dataFormat
- The data format of the schema definition. Currently AVRO
, JSON
and
PROTOBUF
are supported.DataFormat
public String getDataFormat()
The data format of the schema definition. Currently AVRO
, JSON
and
PROTOBUF
are supported.
AVRO
, JSON
and
PROTOBUF
are supported.DataFormat
public CreateSchemaResult withDataFormat(String dataFormat)
The data format of the schema definition. Currently AVRO
, JSON
and
PROTOBUF
are supported.
dataFormat
- The data format of the schema definition. Currently AVRO
, JSON
and
PROTOBUF
are supported.DataFormat
public CreateSchemaResult withDataFormat(DataFormat dataFormat)
The data format of the schema definition. Currently AVRO
, JSON
and
PROTOBUF
are supported.
dataFormat
- The data format of the schema definition. Currently AVRO
, JSON
and
PROTOBUF
are supported.DataFormat
public void setCompatibility(String compatibility)
The schema compatibility mode.
compatibility
- The schema compatibility mode.Compatibility
public String getCompatibility()
The schema compatibility mode.
Compatibility
public CreateSchemaResult withCompatibility(String compatibility)
The schema compatibility mode.
compatibility
- The schema compatibility mode.Compatibility
public CreateSchemaResult withCompatibility(Compatibility compatibility)
The schema compatibility mode.
compatibility
- The schema compatibility mode.Compatibility
public void setSchemaCheckpoint(Long schemaCheckpoint)
The version number of the checkpoint (the last time the compatibility mode was changed).
schemaCheckpoint
- The version number of the checkpoint (the last time the compatibility mode was changed).public Long getSchemaCheckpoint()
The version number of the checkpoint (the last time the compatibility mode was changed).
public CreateSchemaResult withSchemaCheckpoint(Long schemaCheckpoint)
The version number of the checkpoint (the last time the compatibility mode was changed).
schemaCheckpoint
- The version number of the checkpoint (the last time the compatibility mode was changed).public void setLatestSchemaVersion(Long latestSchemaVersion)
The latest version of the schema associated with the returned schema definition.
latestSchemaVersion
- The latest version of the schema associated with the returned schema definition.public Long getLatestSchemaVersion()
The latest version of the schema associated with the returned schema definition.
public CreateSchemaResult withLatestSchemaVersion(Long latestSchemaVersion)
The latest version of the schema associated with the returned schema definition.
latestSchemaVersion
- The latest version of the schema associated with the returned schema definition.public void setNextSchemaVersion(Long nextSchemaVersion)
The next version of the schema associated with the returned schema definition.
nextSchemaVersion
- The next version of the schema associated with the returned schema definition.public Long getNextSchemaVersion()
The next version of the schema associated with the returned schema definition.
public CreateSchemaResult withNextSchemaVersion(Long nextSchemaVersion)
The next version of the schema associated with the returned schema definition.
nextSchemaVersion
- The next version of the schema associated with the returned schema definition.public void setSchemaStatus(String schemaStatus)
The status of the schema.
schemaStatus
- The status of the schema.SchemaStatus
public String getSchemaStatus()
The status of the schema.
SchemaStatus
public CreateSchemaResult withSchemaStatus(String schemaStatus)
The status of the schema.
schemaStatus
- The status of the schema.SchemaStatus
public CreateSchemaResult withSchemaStatus(SchemaStatus schemaStatus)
The status of the schema.
schemaStatus
- The status of the schema.SchemaStatus
public Map<String,String> getTags()
The tags for the schema.
public void setTags(Map<String,String> tags)
The tags for the schema.
tags
- The tags for the schema.public CreateSchemaResult withTags(Map<String,String> tags)
The tags for the schema.
tags
- The tags for the schema.public CreateSchemaResult addTagsEntry(String key, String value)
public CreateSchemaResult clearTagsEntries()
public void setSchemaVersionId(String schemaVersionId)
The unique identifier of the first schema version.
schemaVersionId
- The unique identifier of the first schema version.public String getSchemaVersionId()
The unique identifier of the first schema version.
public CreateSchemaResult withSchemaVersionId(String schemaVersionId)
The unique identifier of the first schema version.
schemaVersionId
- The unique identifier of the first schema version.public void setSchemaVersionStatus(String schemaVersionStatus)
The status of the first schema version created.
schemaVersionStatus
- The status of the first schema version created.SchemaVersionStatus
public String getSchemaVersionStatus()
The status of the first schema version created.
SchemaVersionStatus
public CreateSchemaResult withSchemaVersionStatus(String schemaVersionStatus)
The status of the first schema version created.
schemaVersionStatus
- The status of the first schema version created.SchemaVersionStatus
public CreateSchemaResult withSchemaVersionStatus(SchemaVersionStatus schemaVersionStatus)
The status of the first schema version created.
schemaVersionStatus
- The status of the first schema version created.SchemaVersionStatus
public String toString()
toString
in class Object
Object.toString()
public CreateSchemaResult clone()