Interface StartMlModelTransformJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartMlModelTransformJobRequest.Builder,
,StartMlModelTransformJobRequest> NeptunedataRequest.Builder
,SdkBuilder<StartMlModelTransformJobRequest.Builder,
,StartMlModelTransformJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartMlModelTransformJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionbaseProcessingInstanceType
(String baseProcessingInstanceType) The type of ML instance used in preparing and managing training of ML models.baseProcessingInstanceVolumeSizeInGB
(Integer baseProcessingInstanceVolumeSizeInGB) The disk volume size of the training instance in gigabytes.customModelTransformParameters
(Consumer<CustomModelTransformParameters.Builder> customModelTransformParameters) Configuration information for a model transform using a custom model.customModelTransformParameters
(CustomModelTransformParameters customModelTransformParameters) Configuration information for a model transform using a custom model.dataProcessingJobId
(String dataProcessingJobId) The job ID of a completed data-processing job.A unique identifier for the new job.mlModelTrainingJobId
(String mlModelTrainingJobId) The job ID of a completed model-training job.modelTransformOutputS3Location
(String modelTransformOutputS3Location) The location in Amazon S3 where the model artifacts are to be stored.neptuneIamRoleArn
(String neptuneIamRoleArn) The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.s3OutputEncryptionKMSKey
(String s3OutputEncryptionKMSKey) The Amazon Key Management Service (KMS) key that SageMaker uses to encrypt the output of the processing job.sagemakerIamRoleArn
(String sagemakerIamRoleArn) The ARN of an IAM role for SageMaker execution.securityGroupIds
(String... securityGroupIds) The VPC security group IDs.securityGroupIds
(Collection<String> securityGroupIds) The VPC security group IDs.The IDs of the subnets in the Neptune VPC.subnets
(Collection<String> subnets) The IDs of the subnets in the Neptune VPC.trainingJobName
(String trainingJobName) The name of a completed SageMaker training job.volumeEncryptionKMSKey
(String volumeEncryptionKMSKey) The Amazon Key Management Service (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 Details
-
id
A unique identifier for the new job. The default is an autogenerated UUID.
- Parameters:
id
- A unique identifier for the new job. The default is an autogenerated UUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProcessingJobId
The job ID of a completed data-processing job. You must include either
dataProcessingJobId
and amlModelTrainingJobId
, or atrainingJobName
.- Parameters:
dataProcessingJobId
- The job ID of a completed data-processing job. You must include eitherdataProcessingJobId
and amlModelTrainingJobId
, or atrainingJobName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mlModelTrainingJobId
The job ID of a completed model-training job. You must include either
dataProcessingJobId
and amlModelTrainingJobId
, or atrainingJobName
.- Parameters:
mlModelTrainingJobId
- The job ID of a completed model-training job. You must include eitherdataProcessingJobId
and amlModelTrainingJobId
, or atrainingJobName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobName
The name of a completed SageMaker training job. You must include either
dataProcessingJobId
and amlModelTrainingJobId
, or atrainingJobName
.- Parameters:
trainingJobName
- The name of a completed SageMaker training job. You must include eitherdataProcessingJobId
and amlModelTrainingJobId
, or atrainingJobName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelTransformOutputS3Location
StartMlModelTransformJobRequest.Builder modelTransformOutputS3Location(String modelTransformOutputS3Location) The location in Amazon S3 where the model artifacts are to be stored.
- Parameters:
modelTransformOutputS3Location
- The location in Amazon S3 where the model artifacts are to be stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sagemakerIamRoleArn
The ARN of an IAM role for SageMaker execution. This must be listed in your DB cluster parameter group or an error will occur.
- Parameters:
sagemakerIamRoleArn
- The ARN of an IAM role for SageMaker execution. This must be listed in your DB cluster parameter group or an error will occur.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neptuneIamRoleArn
The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.
- Parameters:
neptuneIamRoleArn
- The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customModelTransformParameters
StartMlModelTransformJobRequest.Builder customModelTransformParameters(CustomModelTransformParameters customModelTransformParameters) Configuration information for a model transform using a custom model. The
customModelTransformParameters
object contains the following fields, which must have values compatible with the saved model parameters from the training job:- Parameters:
customModelTransformParameters
- Configuration information for a model transform using a custom model. ThecustomModelTransformParameters
object contains the following fields, which must have values compatible with the saved model parameters from the training job:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customModelTransformParameters
default StartMlModelTransformJobRequest.Builder customModelTransformParameters(Consumer<CustomModelTransformParameters.Builder> customModelTransformParameters) Configuration information for a model transform using a custom model. The
This is a convenience method that creates an instance of thecustomModelTransformParameters
object contains the following fields, which must have values compatible with the saved model parameters from the training job:CustomModelTransformParameters.Builder
avoiding the need to create one manually viaCustomModelTransformParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomModelTransformParameters(CustomModelTransformParameters)
.- Parameters:
customModelTransformParameters
- a consumer that will call methods onCustomModelTransformParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baseProcessingInstanceType
StartMlModelTransformJobRequest.Builder baseProcessingInstanceType(String baseProcessingInstanceType) The type of ML instance used in preparing and managing training of ML models. This is an ML compute instance chosen based on memory requirements for processing the training data and model.
- Parameters:
baseProcessingInstanceType
- The type of ML instance used in preparing and managing training of ML models. This is an ML compute instance chosen based on memory requirements for processing the training data and model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseProcessingInstanceVolumeSizeInGB
StartMlModelTransformJobRequest.Builder baseProcessingInstanceVolumeSizeInGB(Integer baseProcessingInstanceVolumeSizeInGB) The disk volume size of the training instance in gigabytes. The default is 0. Both input data and the output model are stored on disk, so the volume size must be large enough to hold both data sets. If not specified or 0, Neptune ML selects a disk volume size based on the recommendation generated in the data processing step.
- Parameters:
baseProcessingInstanceVolumeSizeInGB
- The disk volume size of the training instance in gigabytes. The default is 0. Both input data and the output model are stored on disk, so the volume size must be large enough to hold both data sets. If not specified or 0, Neptune ML selects a disk volume size based on the recommendation generated in the data processing step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The IDs of the subnets in the Neptune VPC. The default is None.
- Parameters:
subnets
- The IDs of the subnets in the Neptune VPC. The default is None.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The IDs of the subnets in the Neptune VPC. The default is None.
- Parameters:
subnets
- The IDs of the subnets in the Neptune VPC. The default is None.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The VPC security group IDs. The default is None.
- Parameters:
securityGroupIds
- The VPC security group IDs. The default is None.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The VPC security group IDs. The default is None.
- Parameters:
securityGroupIds
- The VPC security group IDs. The default is None.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeEncryptionKMSKey
The Amazon Key Management Service (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 (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.
-
s3OutputEncryptionKMSKey
The Amazon Key Management Service (KMS) key that SageMaker uses to encrypt the output of the processing job. The default is none.
- Parameters:
s3OutputEncryptionKMSKey
- The Amazon Key Management Service (KMS) key that SageMaker uses to encrypt the output of the processing job. The default is none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartMlModelTransformJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartMlModelTransformJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-