@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSchemaResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSchemaResult() |
Modifier and Type | Method and Description |
---|---|
GetSchemaResult |
clone() |
boolean |
equals(Object obj) |
String |
getCompatibility()
The compatibility mode of the schema.
|
String |
getCreatedTime()
The date and time the schema was created.
|
String |
getDataFormat()
The data format of the schema definition.
|
String |
getDescription()
A description of 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 |
getUpdatedTime()
The date and time the schema was updated.
|
int |
hashCode() |
void |
setCompatibility(String compatibility)
The compatibility mode of the schema.
|
void |
setCreatedTime(String createdTime)
The date and time the schema was created.
|
void |
setDataFormat(String dataFormat)
The data format of the schema definition.
|
void |
setDescription(String description)
A description of 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 |
setUpdatedTime(String updatedTime)
The date and time the schema was updated.
|
String |
toString()
Returns a string representation of this object.
|
GetSchemaResult |
withCompatibility(Compatibility compatibility)
The compatibility mode of the schema.
|
GetSchemaResult |
withCompatibility(String compatibility)
The compatibility mode of the schema.
|
GetSchemaResult |
withCreatedTime(String createdTime)
The date and time the schema was created.
|
GetSchemaResult |
withDataFormat(DataFormat dataFormat)
The data format of the schema definition.
|
GetSchemaResult |
withDataFormat(String dataFormat)
The data format of the schema definition.
|
GetSchemaResult |
withDescription(String description)
A description of schema if specified when created
|
GetSchemaResult |
withLatestSchemaVersion(Long latestSchemaVersion)
The latest version of the schema associated with the returned schema definition.
|
GetSchemaResult |
withNextSchemaVersion(Long nextSchemaVersion)
The next version of the schema associated with the returned schema definition.
|
GetSchemaResult |
withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the registry.
|
GetSchemaResult |
withRegistryName(String registryName)
The name of the registry.
|
GetSchemaResult |
withSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
|
GetSchemaResult |
withSchemaCheckpoint(Long schemaCheckpoint)
The version number of the checkpoint (the last time the compatibility mode was changed).
|
GetSchemaResult |
withSchemaName(String schemaName)
The name of the schema.
|
GetSchemaResult |
withSchemaStatus(SchemaStatus schemaStatus)
The status of the schema.
|
GetSchemaResult |
withSchemaStatus(String schemaStatus)
The status of the schema.
|
GetSchemaResult |
withUpdatedTime(String updatedTime)
The date and time the schema was updated.
|
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 GetSchemaResult 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 GetSchemaResult 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 GetSchemaResult 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 GetSchemaResult 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 schema if specified when created
description
- A description of schema if specified when createdpublic String getDescription()
A description of schema if specified when created
public GetSchemaResult withDescription(String description)
A description of schema if specified when created
description
- A description of schema if specified when createdpublic 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 GetSchemaResult 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 GetSchemaResult 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 compatibility mode of the schema.
compatibility
- The compatibility mode of the schema.Compatibility
public String getCompatibility()
The compatibility mode of the schema.
Compatibility
public GetSchemaResult withCompatibility(String compatibility)
The compatibility mode of the schema.
compatibility
- The compatibility mode of the schema.Compatibility
public GetSchemaResult withCompatibility(Compatibility compatibility)
The compatibility mode of the schema.
compatibility
- The compatibility mode of the schema.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 GetSchemaResult 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 GetSchemaResult 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 GetSchemaResult 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 GetSchemaResult withSchemaStatus(String schemaStatus)
The status of the schema.
schemaStatus
- The status of the schema.SchemaStatus
public GetSchemaResult withSchemaStatus(SchemaStatus schemaStatus)
The status of the schema.
schemaStatus
- The status of the schema.SchemaStatus
public void setCreatedTime(String createdTime)
The date and time the schema was created.
createdTime
- The date and time the schema was created.public String getCreatedTime()
The date and time the schema was created.
public GetSchemaResult withCreatedTime(String createdTime)
The date and time the schema was created.
createdTime
- The date and time the schema was created.public void setUpdatedTime(String updatedTime)
The date and time the schema was updated.
updatedTime
- The date and time the schema was updated.public String getUpdatedTime()
The date and time the schema was updated.
public GetSchemaResult withUpdatedTime(String updatedTime)
The date and time the schema was updated.
updatedTime
- The date and time the schema was updated.public String toString()
toString
in class Object
Object.toString()
public GetSchemaResult clone()