public class DeleteLanguageModelRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes a custom language model using its name.
Constructor and Description |
---|
DeleteLanguageModelRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getModelName()
The name of the model you're choosing to delete.
|
int |
hashCode() |
void |
setModelName(java.lang.String modelName)
The name of the model you're choosing to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLanguageModelRequest |
withModelName(java.lang.String modelName)
The name of the model you're choosing to delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getModelName()
The name of the model you're choosing to delete.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the model you're choosing to delete.
public void setModelName(java.lang.String modelName)
The name of the model you're choosing to delete.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
modelName
- The name of the model you're choosing to delete.
public DeleteLanguageModelRequest withModelName(java.lang.String modelName)
The name of the model you're choosing to delete.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
modelName
- The name of the model you're choosing to delete.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.