@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelVersion extends Object implements Serializable, Cloneable, StructuredPojo
The model version.
Constructor and Description |
---|
ModelVersion() |
Modifier and Type | Method and Description |
---|---|
ModelVersion |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The model version ARN.
|
String |
getModelId()
The model ID.
|
String |
getModelType()
The model type.
|
String |
getModelVersionNumber()
The model version number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The model version ARN.
|
void |
setModelId(String modelId)
The model ID.
|
void |
setModelType(String modelType)
The model type.
|
void |
setModelVersionNumber(String modelVersionNumber)
The model version number.
|
String |
toString()
Returns a string representation of this object.
|
ModelVersion |
withArn(String arn)
The model version ARN.
|
ModelVersion |
withModelId(String modelId)
The model ID.
|
ModelVersion |
withModelType(ModelTypeEnum modelType)
The model type.
|
ModelVersion |
withModelType(String modelType)
The model type.
|
ModelVersion |
withModelVersionNumber(String modelVersionNumber)
The model version number.
|
public void setModelId(String modelId)
The model ID.
modelId
- The model ID.public String getModelId()
The model ID.
public ModelVersion withModelId(String modelId)
The model ID.
modelId
- The model ID.public void setModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public String getModelType()
The model type.
ModelTypeEnum
public ModelVersion withModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public ModelVersion withModelType(ModelTypeEnum modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public void setModelVersionNumber(String modelVersionNumber)
The model version number.
modelVersionNumber
- The model version number.public String getModelVersionNumber()
The model version number.
public ModelVersion withModelVersionNumber(String modelVersionNumber)
The model version number.
modelVersionNumber
- The model version number.public void setArn(String arn)
The model version ARN.
arn
- The model version ARN.public String getArn()
The model version ARN.
public ModelVersion withArn(String arn)
The model version ARN.
arn
- The model version ARN.public String toString()
toString
in class Object
Object.toString()
public ModelVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.