@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLanguageModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateLanguageModelResult() |
Modifier and Type | Method and Description |
---|---|
CreateLanguageModelResult |
clone() |
boolean |
equals(Object obj) |
String |
getBaseModelName()
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
|
InputDataConfig |
getInputDataConfig()
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (
S3Uri ) and tuning (TuningDataS3Uri ) data. |
String |
getLanguageCode()
The language code you selected for your custom language model.
|
String |
getModelName()
The unique name you chose for your custom language model.
|
String |
getModelStatus()
The status of your custom language model.
|
int |
hashCode() |
void |
setBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (
S3Uri ) and tuning (TuningDataS3Uri ) data. |
void |
setLanguageCode(String languageCode)
The language code you selected for your custom language model.
|
void |
setModelName(String modelName)
The unique name you chose for your custom language model.
|
void |
setModelStatus(String modelStatus)
The status of your custom language model.
|
String |
toString()
Returns a string representation of this object.
|
CreateLanguageModelResult |
withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
|
CreateLanguageModelResult |
withBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
|
CreateLanguageModelResult |
withInputDataConfig(InputDataConfig inputDataConfig)
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (
S3Uri ) and tuning (TuningDataS3Uri ) data. |
CreateLanguageModelResult |
withLanguageCode(CLMLanguageCode languageCode)
The language code you selected for your custom language model.
|
CreateLanguageModelResult |
withLanguageCode(String languageCode)
The language code you selected for your custom language model.
|
CreateLanguageModelResult |
withModelName(String modelName)
The unique name you chose for your custom language model.
|
CreateLanguageModelResult |
withModelStatus(ModelStatus modelStatus)
The status of your custom language model.
|
CreateLanguageModelResult |
withModelStatus(String modelStatus)
The status of your custom language model.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLanguageCode(String languageCode)
The language code you selected for your custom language model.
languageCode
- The language code you selected for your custom language model.CLMLanguageCode
public String getLanguageCode()
The language code you selected for your custom language model.
CLMLanguageCode
public CreateLanguageModelResult withLanguageCode(String languageCode)
The language code you selected for your custom language model.
languageCode
- The language code you selected for your custom language model.CLMLanguageCode
public CreateLanguageModelResult withLanguageCode(CLMLanguageCode languageCode)
The language code you selected for your custom language model.
languageCode
- The language code you selected for your custom language model.CLMLanguageCode
public void setBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If your
audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
baseModelName
- The Amazon Transcribe standard language model, or base model, you used when creating your custom language
model.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If
your audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
BaseModelName
public String getBaseModelName()
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If your
audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If
your audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
BaseModelName
public CreateLanguageModelResult withBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If your
audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
baseModelName
- The Amazon Transcribe standard language model, or base model, you used when creating your custom language
model.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If
your audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
BaseModelName
public CreateLanguageModelResult withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If your
audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
baseModelName
- The Amazon Transcribe standard language model, or base model, you used when creating your custom language
model.
If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand
. If
your audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand
.
BaseModelName
public void setModelName(String modelName)
The unique name you chose for your custom language model.
modelName
- The unique name you chose for your custom language model.public String getModelName()
The unique name you chose for your custom language model.
public CreateLanguageModelResult withModelName(String modelName)
The unique name you chose for your custom language model.
modelName
- The unique name you chose for your custom language model.public void setInputDataConfig(InputDataConfig inputDataConfig)
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (S3Uri
) and tuning (TuningDataS3Uri
) data.
inputDataConfig
- Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (S3Uri
) and tuning (TuningDataS3Uri
) data.public InputDataConfig getInputDataConfig()
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (S3Uri
) and tuning (TuningDataS3Uri
) data.
S3Uri
) and tuning (TuningDataS3Uri
) data.public CreateLanguageModelResult withInputDataConfig(InputDataConfig inputDataConfig)
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (S3Uri
) and tuning (TuningDataS3Uri
) data.
inputDataConfig
- Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your
training (S3Uri
) and tuning (TuningDataS3Uri
) data.public void setModelStatus(String modelStatus)
The status of your custom language model. When the status shows as COMPLETED
, your model is ready to
use.
modelStatus
- The status of your custom language model. When the status shows as COMPLETED
, your model is
ready to use.ModelStatus
public String getModelStatus()
The status of your custom language model. When the status shows as COMPLETED
, your model is ready to
use.
COMPLETED
, your model is
ready to use.ModelStatus
public CreateLanguageModelResult withModelStatus(String modelStatus)
The status of your custom language model. When the status shows as COMPLETED
, your model is ready to
use.
modelStatus
- The status of your custom language model. When the status shows as COMPLETED
, your model is
ready to use.ModelStatus
public CreateLanguageModelResult withModelStatus(ModelStatus modelStatus)
The status of your custom language model. When the status shows as COMPLETED
, your model is ready to
use.
modelStatus
- The status of your custom language model. When the status shows as COMPLETED
, your model is
ready to use.ModelStatus
public String toString()
toString
in class Object
Object.toString()
public CreateLanguageModelResult clone()