@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSchemaVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSchemaVersionResult() |
Modifier and Type | Method and Description |
---|---|
GetSchemaVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getCreatedTime()
The date and time the schema version was created.
|
String |
getDataFormat()
The data format of the schema definition.
|
String |
getSchemaArn()
The Amazon Resource Name (ARN) of the schema.
|
String |
getSchemaDefinition()
The schema definition for the schema ID.
|
String |
getSchemaVersionId()
The
SchemaVersionId of the schema version. |
String |
getStatus()
The status of the schema version.
|
Long |
getVersionNumber()
The version number of the schema.
|
int |
hashCode() |
void |
setCreatedTime(String createdTime)
The date and time the schema version was created.
|
void |
setDataFormat(String dataFormat)
The data format of the schema definition.
|
void |
setSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
|
void |
setSchemaDefinition(String schemaDefinition)
The schema definition for the schema ID.
|
void |
setSchemaVersionId(String schemaVersionId)
The
SchemaVersionId of the schema version. |
void |
setStatus(String status)
The status of the schema version.
|
void |
setVersionNumber(Long versionNumber)
The version number of the schema.
|
String |
toString()
Returns a string representation of this object.
|
GetSchemaVersionResult |
withCreatedTime(String createdTime)
The date and time the schema version was created.
|
GetSchemaVersionResult |
withDataFormat(DataFormat dataFormat)
The data format of the schema definition.
|
GetSchemaVersionResult |
withDataFormat(String dataFormat)
The data format of the schema definition.
|
GetSchemaVersionResult |
withSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
|
GetSchemaVersionResult |
withSchemaDefinition(String schemaDefinition)
The schema definition for the schema ID.
|
GetSchemaVersionResult |
withSchemaVersionId(String schemaVersionId)
The
SchemaVersionId of the schema version. |
GetSchemaVersionResult |
withStatus(SchemaVersionStatus status)
The status of the schema version.
|
GetSchemaVersionResult |
withStatus(String status)
The status of the schema version.
|
GetSchemaVersionResult |
withVersionNumber(Long versionNumber)
The version number of the schema.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSchemaVersionId(String schemaVersionId)
The SchemaVersionId
of the schema version.
schemaVersionId
- The SchemaVersionId
of the schema version.public String getSchemaVersionId()
The SchemaVersionId
of the schema version.
SchemaVersionId
of the schema version.public GetSchemaVersionResult withSchemaVersionId(String schemaVersionId)
The SchemaVersionId
of the schema version.
schemaVersionId
- The SchemaVersionId
of the schema version.public void setSchemaDefinition(String schemaDefinition)
The schema definition for the schema ID.
schemaDefinition
- The schema definition for the schema ID.public String getSchemaDefinition()
The schema definition for the schema ID.
public GetSchemaVersionResult withSchemaDefinition(String schemaDefinition)
The schema definition for the schema ID.
schemaDefinition
- The schema definition for the schema ID.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 GetSchemaVersionResult 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 GetSchemaVersionResult 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 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 GetSchemaVersionResult withSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) of the schema.
schemaArn
- The Amazon Resource Name (ARN) of the schema.public void setVersionNumber(Long versionNumber)
The version number of the schema.
versionNumber
- The version number of the schema.public Long getVersionNumber()
The version number of the schema.
public GetSchemaVersionResult withVersionNumber(Long versionNumber)
The version number of the schema.
versionNumber
- The version number of the schema.public void setStatus(String status)
The status of the schema version.
status
- The status of the schema version.SchemaVersionStatus
public String getStatus()
The status of the schema version.
SchemaVersionStatus
public GetSchemaVersionResult withStatus(String status)
The status of the schema version.
status
- The status of the schema version.SchemaVersionStatus
public GetSchemaVersionResult withStatus(SchemaVersionStatus status)
The status of the schema version.
status
- The status of the schema version.SchemaVersionStatus
public void setCreatedTime(String createdTime)
The date and time the schema version was created.
createdTime
- The date and time the schema version was created.public String getCreatedTime()
The date and time the schema version was created.
public GetSchemaVersionResult withCreatedTime(String createdTime)
The date and time the schema version was created.
createdTime
- The date and time the schema version was created.public String toString()
toString
in class Object
Object.toString()
public GetSchemaVersionResult clone()