Interface CreateMlEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMlEndpointRequest.Builder,CreateMlEndpointRequest>,NeptunedataRequest.Builder,SdkBuilder<CreateMlEndpointRequest.Builder,CreateMlEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateMlEndpointRequest
public static interface CreateMlEndpointRequest.Builder extends NeptunedataRequest.Builder, SdkPojo, CopyableBuilder<CreateMlEndpointRequest.Builder,CreateMlEndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateMlEndpointRequest.Builderid(String id)A unique identifier for the new inference endpoint.CreateMlEndpointRequest.BuilderinstanceCount(Integer instanceCount)The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction.CreateMlEndpointRequest.BuilderinstanceType(String instanceType)The type of Neptune ML instance to use for online servicing.CreateMlEndpointRequest.BuildermlModelTrainingJobId(String mlModelTrainingJobId)The job Id of the completed model-training job that has created the model that the inference endpoint will point to.CreateMlEndpointRequest.BuildermlModelTransformJobId(String mlModelTransformJobId)The job Id of the completed model-transform job.CreateMlEndpointRequest.BuildermodelName(String modelName)Model type for training.CreateMlEndpointRequest.BuilderneptuneIamRoleArn(String neptuneIamRoleArn)The ARN of an IAM role providing Neptune access to SageMaker and Amazon S3 resources.CreateMlEndpointRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateMlEndpointRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateMlEndpointRequest.Builderupdate(Boolean update)If set totrue,updateindicates that this is an update request.CreateMlEndpointRequest.BuildervolumeEncryptionKMSKey(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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.neptunedata.model.NeptunedataRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
CreateMlEndpointRequest.Builder id(String id)
A unique identifier for the new inference endpoint. The default is an autogenerated timestamped name.
- Parameters:
id- A unique identifier for the new inference endpoint. The default is an autogenerated timestamped name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mlModelTrainingJobId
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
mlModelTrainingJobIdor themlModelTransformJobId.- Parameters:
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 themlModelTrainingJobIdor themlModelTransformJobId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mlModelTransformJobId
CreateMlEndpointRequest.Builder mlModelTransformJobId(String mlModelTransformJobId)
The job Id of the completed model-transform job. You must supply either the
mlModelTrainingJobIdor themlModelTransformJobId.- Parameters:
mlModelTransformJobId- The job Id of the completed model-transform job. You must supply either themlModelTrainingJobIdor themlModelTransformJobId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
update
CreateMlEndpointRequest.Builder update(Boolean update)
If set to
true,updateindicates that this is an update request. The default isfalse. You must supply either themlModelTrainingJobIdor themlModelTransformJobId.- Parameters:
update- If set totrue,updateindicates that this is an update request. The default isfalse. You must supply either themlModelTrainingJobIdor themlModelTransformJobId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neptuneIamRoleArn
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
CreateMlEndpointRequest.Builder modelName(String modelName)
Model type for training. By default the Neptune ML model is automatically based on the
modelTypeused in data processing, but you can specify a different model type here. The default isrgcnfor heterogeneous graphs andkgefor knowledge graphs. The only valid value for heterogeneous graphs isrgcn. Valid values for knowledge graphs are:kge,transe,distmult, androtate.- Parameters:
modelName- Model type for training. By default the Neptune ML model is automatically based on themodelTypeused in data processing, but you can specify a different model type here. The default isrgcnfor heterogeneous graphs andkgefor knowledge graphs. The only valid value for heterogeneous graphs isrgcn. Valid values for knowledge graphs are:kge,transe,distmult, androtate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
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.- Parameters:
instanceType- The type of Neptune ML instance to use for online servicing. The default isml.m5.xlarge. Choosing the ML instance for an inference endpoint depends on the task type, the graph size, and your budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
CreateMlEndpointRequest.Builder instanceCount(Integer instanceCount)
The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction. The default is 1
- Parameters:
instanceCount- The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction. The default is 1- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeEncryptionKMSKey
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. The default is None.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateMlEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMlEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-