in sagemaker-spark-sdk/src/main/scala/com/amazonaws/services/sagemaker/sparksdk/SageMakerModel.scala [551:583]
override def copy(extra: ParamMap): SageMakerModel = {
val that = this.getClass.getConstructor(
classOf[Option[String]],
classOf[Option[Int]],
classOf[RequestRowSerializer],
classOf[ResponseRowDeserializer],
classOf[Option[String]],
classOf[Option[String]],
classOf[Option[String]],
classOf[Map[String, String]],
classOf[Option[String]],
classOf[EndpointCreationPolicy],
classOf[AmazonSageMaker],
classOf[Boolean],
classOf[NamePolicy],
classOf[String]).newInstance(
this.endpointInstanceType,
this.endpointInitialInstanceCount,
this.requestRowSerializer,
this.responseRowDeserializer,
this.endpointName,
this.modelImage,
this.modelPath,
this.modelEnvironmentVariables,
this.modelExecutionRoleARN,
EndpointCreationPolicy.DO_NOT_CREATE,
this.sagemakerClient,
Boolean.box(this.prependResultRows),
this.namePolicy,
this.uid
)
copyValues(that, extra)
}