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