public static interface CreateMlEndpointRequest.Builder extends NeptunedataRequest.Builder, SdkPojo, CopyableBuilder<CreateMlEndpointRequest.Builder,CreateMlEndpointRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateMlEndpointRequest.Builder |
id(String id)
A unique identifier for the new inference endpoint.
|
CreateMlEndpointRequest.Builder |
instanceCount(Integer instanceCount)
The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction.
|
CreateMlEndpointRequest.Builder |
instanceType(String instanceType)
The type of Neptune ML instance to use for online servicing.
|
CreateMlEndpointRequest.Builder |
mlModelTrainingJobId(String mlModelTrainingJobId)
The job Id of the completed model-training job that has created the model that the inference endpoint will
point to.
|
CreateMlEndpointRequest.Builder |
mlModelTransformJobId(String mlModelTransformJobId)
The job Id of the completed model-transform job.
|
CreateMlEndpointRequest.Builder |
modelName(String modelName)
Model type for training.
|
CreateMlEndpointRequest.Builder |
neptuneIamRoleArn(String neptuneIamRoleArn)
The ARN of an IAM role providing Neptune access to SageMaker and Amazon S3 resources.
|
CreateMlEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateMlEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateMlEndpointRequest.Builder |
update(Boolean update)
If set to
true, update indicates that this is an update request. |
CreateMlEndpointRequest.Builder |
volumeEncryptionKMSKey(String volumeEncryptionKMSKey)
The Amazon Key Management Service (Amazon KMS) key that SageMaker uses to encrypt data on the storage volume
attached to the ML compute instances that run the training job.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateMlEndpointRequest.Builder id(String id)
A unique identifier for the new inference endpoint. The default is an autogenerated timestamped name.
id - A unique identifier for the new inference endpoint. The default is an autogenerated timestamped name.CreateMlEndpointRequest.Builder mlModelTrainingJobId(String mlModelTrainingJobId)
The job Id of the completed model-training job that has created the model that the inference endpoint will
point to. You must supply either the mlModelTrainingJobId or the
mlModelTransformJobId.
mlModelTrainingJobId - The job Id of the completed model-training job that has created the model that the inference endpoint
will point to. You must supply either the mlModelTrainingJobId or the
mlModelTransformJobId.CreateMlEndpointRequest.Builder mlModelTransformJobId(String mlModelTransformJobId)
The job Id of the completed model-transform job. You must supply either the mlModelTrainingJobId
or the mlModelTransformJobId.
mlModelTransformJobId - The job Id of the completed model-transform job. You must supply either the
mlModelTrainingJobId or the mlModelTransformJobId.CreateMlEndpointRequest.Builder update(Boolean update)
If set to true, update indicates that this is an update request. The default is
false. You must supply either the mlModelTrainingJobId or the
mlModelTransformJobId.
update - If set to true, update indicates that this is an update request. The default
is false. You must supply either the mlModelTrainingJobId or the
mlModelTransformJobId.CreateMlEndpointRequest.Builder neptuneIamRoleArn(String neptuneIamRoleArn)
The ARN of an IAM role providing Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will be thrown.
neptuneIamRoleArn - The ARN of an IAM role providing Neptune access to SageMaker and Amazon S3 resources. This must be
listed in your DB cluster parameter group or an error will be thrown.CreateMlEndpointRequest.Builder modelName(String modelName)
Model type for training. By default the Neptune ML model is automatically based on the modelType
used in data processing, but you can specify a different model type here. The default is rgcn
for heterogeneous graphs and kge for knowledge graphs. The only valid value for heterogeneous
graphs is rgcn. Valid values for knowledge graphs are: kge, transe,
distmult, and rotate.
modelName - Model type for training. By default the Neptune ML model is automatically based on the
modelType used in data processing, but you can specify a different model type here. The
default is rgcn for heterogeneous graphs and kge for knowledge graphs. The
only valid value for heterogeneous graphs is rgcn. Valid values for knowledge graphs are:
kge, transe, distmult, and rotate.CreateMlEndpointRequest.Builder instanceType(String instanceType)
The type of Neptune ML instance to use for online servicing. The default is ml.m5.xlarge.
Choosing the ML instance for an inference endpoint depends on the task type, the graph size, and your budget.
instanceType - The type of Neptune ML instance to use for online servicing. The default is ml.m5.xlarge.
Choosing the ML instance for an inference endpoint depends on the task type, the graph size, and your
budget.CreateMlEndpointRequest.Builder instanceCount(Integer instanceCount)
The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction. The default is 1
instanceCount - The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction. The default is 1CreateMlEndpointRequest.Builder volumeEncryptionKMSKey(String volumeEncryptionKMSKey)
The Amazon Key Management Service (Amazon KMS) key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instances that run the training job. The default is None.
volumeEncryptionKMSKey - The Amazon Key Management Service (Amazon KMS) key that SageMaker uses to encrypt data on the storage
volume attached to the ML compute instances that run the training job. The default is None.CreateMlEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateMlEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.