@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateModelResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateModelResult |
clone() |
boolean |
equals(Object obj) |
String |
getModelArn()
The Amazon Resource Name (ARN) of the model being created.
|
String |
getStatus()
Indicates the status of the
CreateModel operation. |
int |
hashCode() |
void |
setModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model being created.
|
void |
setStatus(String status)
Indicates the status of the
CreateModel operation. |
String |
toString()
Returns a string representation of this object.
|
CreateModelResult |
withModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model being created.
|
CreateModelResult |
withStatus(ModelStatus status)
Indicates the status of the
CreateModel operation. |
CreateModelResult |
withStatus(String status)
Indicates the status of the
CreateModel operation. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model being created.
modelArn - The Amazon Resource Name (ARN) of the model being created.public String getModelArn()
The Amazon Resource Name (ARN) of the model being created.
public CreateModelResult withModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model being created.
modelArn - The Amazon Resource Name (ARN) of the model being created.public void setStatus(String status)
Indicates the status of the CreateModel operation.
status - Indicates the status of the CreateModel operation.ModelStatuspublic String getStatus()
Indicates the status of the CreateModel operation.
CreateModel operation.ModelStatuspublic CreateModelResult withStatus(String status)
Indicates the status of the CreateModel operation.
status - Indicates the status of the CreateModel operation.ModelStatuspublic CreateModelResult withStatus(ModelStatus status)
Indicates the status of the CreateModel operation.
status - Indicates the status of the CreateModel operation.ModelStatuspublic String toString()
toString in class ObjectObject.toString()public CreateModelResult clone()